Re: securing an 'includes' dir
| From: | Justin French | Date: | Tue, 02 Jul 2002 10:02:50 +0000 |
| Subject: | Re: securing an 'includes' dir | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104885@lists.php.net to get a copy of this message | ||
on 02/07/02 5:41 PM, Richard Lynch (rich@phpbootcamp.com) wrote:
>> "Justin French" <justin@indent.com.au> wrote in message
>> news:B9425D5F.9573%justin@indent.com.au...
>>> 1. Name all included files .inc
>>
>> If you name them *.php then put anything in them inside a function, then
>> when the user browses to that file he/she won't see anything at all.
>
> You've already moved them out of the web tree so that they can't browse to
> them in the first place...
Actually, the OP was about securing an includes directory which COULD NOT be
placed outside the docroot.
Justin French