RE: [PHP] Setting permissions such that file can be included but not open directly
| From: | Mike | Date: | Fri, 15 Apr 2005 19:43:10 +0000 |
| Subject: | RE: [PHP] Setting permissions such that file can be included but not open directly | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213157@lists.php.net to get a copy of this message | ||
> directly to private/includefile.php can run the script
> without authorising themselves...
>
> Is it possible to set folder permission such that files
> inside it cant be open directly but could be included?
Can you just give read permissions -only- to the user that PHP runs as and
not these other users?
-M