note 74311 added to security.general
| From: | AndreasR dot newsgroups2005 at geekmail dot de | Date: | Wed, 04 Apr 2007 17:02:08 +0000 |
| Subject: | note 74311 added to security.general | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125093@lists.php.net to get a copy of this message | ||
In reply to: yairl at savion dot huji dot ac dot il (Important Security Note for emacs users)
> in apache webserver you can deny access to these files with the following configure order
> <File "*~">
> Deny all
> </File>
If you want to use .htaccess file, it should be:
<Files "*~">
Deny from all
</Files>
But then don't forget to set AllowOverride All (for the directory in question), e.g.
<Directory /var/www/localhost/htdocs>
AllowOverride All
</Directory>
since with the (default?) AllowOverride None the .htaccess files are ignored, see
http://issues.apache.org/bugzilla/show_bug.cgi?id=41760
----
Server IP: 69.147.83.197
Probable Submitter: 89.55.0.30
----
Manual Page -- http://www.php.net/manual/en/security.general.php
Edit -- https://master.php.net/note/edit/74311
Del: integrated -- https://master.php.net/note/delete/74311/integrated
Del: useless -- https://master.php.net/note/delete/74311/useless
Del: bad code -- https://master.php.net/note/delete/74311/bad+code
Del: spam -- https://master.php.net/note/delete/74311/spam
Del: non-english -- https://master.php.net/note/delete/74311/non-english
Del: in docs -- https://master.php.net/note/delete/74311/in+docs
Del: other reasons-- https://master.php.net/note/delete/74311
Reject -- https://master.php.net/note/reject/74311
Search -- https://master.php.net/manage/user-notes.php