Re: including files outside of document root
| From: | Roberto Mansfield | Date: | Wed, 23 Jan 2008 19:50:01 +0000 |
| Subject: | Re: including files outside of document root | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267925@lists.php.net to get a copy of this message | ||
Jason Pruim wrote:
>
>> Been doing some reading on security and have decided that I should be
>> storing my include files outside of the document root... Which I
>> understand how to do it, but what I'm wondering, is say I write the
>> Next Killer App (tm). How would I port that code easily off of my
>> server and put it into a downloadable file for the millions of people
>> who will download and run the Next Killer App (tm)?
I tend to keep the directories in the document root, but I deny access
via an .htaccess file. This keeps the code in a simple directory
structure. Anyone else doing that?
-Roberto