note 5647 deleted from function.require by rasmus
| From: | rasmus@php.net | Date: | Mon, 12 Aug 2002 14:24:13 +0000 |
| Subject: | note 5647 deleted from function.require by rasmus | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34870@lists.php.net to get a copy of this message | ||
the note to hide include files is good but
it is done wrong.
the proper way is:
<Files ~ "\.inc$">
Order allow,deny
Deny from all
</Files>
otherwise people could not access files named "fooincluded" or "foo.include" or
anything with the letters i-n-c in it.