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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to