Protect .info files from prying eyes.

The patch solves the issue.

CommentFileSizeAuthor
#3 protect-info-files_2.patch657 bytesrstamm
protect-info-files.patch671 bytesrstamm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

profix898’s picture

So far only files containing php code or sql syntax are protected (not txt files for example). Isnt that enough? What can one learn from .info files?

beginner’s picture

Status: Needs review » Needs work

I couldn't apply to patch because it has non-standard line ends (use unix line ends as per guidelines http://drupal.org/patch )

rstamm’s picture

Status: Needs work » Needs review
FileSize
657 bytes

re-rolled

nickl’s picture

Status: Needs review » Reviewed & tested by the community

It is a way for someone to sniff what modules are installed on a site for whatever reason imaginable.
For completeness sake lets add .info to the forbidden list.
Works as advertised: RTBC?

drumm’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD.

rstamm’s picture

Status: Fixed » Closed (fixed)