Re: permissions when using fopen
| From: | Andrey Hristov | Date: | Mon, 27 Aug 2001 17:17:33 +0000 |
| Subject: | Re: permissions when using fopen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64662@lists.php.net to get a copy of this message | ||
If Apache/php runs under nobody user, than make all files read only by the group of nobody, and no
other users to be in this group.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
----- Original Message -----
From: "Pascal Chouinard" <pascalc@croesus.com>
To: <php-general@lists.php.net>
Sent: Monday, August 27, 2001 8:06 PM
Subject: [PHP] permissions when using fopen
> Hi,
>
> I want to read a file on my web server in a .php script using fopen and
> I don't want to set read permissions on this file for everyone. However it
> seems that the PHP module has that same access to the filesystem that
> everyone would have. I can only read this file if I set read permissions for
> everyone. Can I change the access right of the PHP module on the server's
> filesystem without lowering security and if so, how can change this?
>
> Thanks in advance,
>
> Pascal Chouinard
> pascalc@croesus.com
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>