RE: [PHP] security
| From: | Javier Muniz | Date: | Thu, 22 Feb 2001 20:29:17 +0000 |
| Subject: | RE: [PHP] security | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41211@lists.php.net to get a copy of this message | ||
Encode them, or set filesystem permissions in such a way (suggest using
groups) to allow apache to read files but not other users.
For instance, if your users are all members of the users group, and apache
runs as nobody, then set your files to be owned by the user with the nobody
group (chown user:nobody <file>) then set it to be readable by group, but
not others (chmod 640 <file>).
-jm
-----Original Message-----
From: Gustavo Vieira Goncalves Coelho Rios [mailto:gustavo@ifour.com.br]
Sent: Wednesday, February 21, 2001 9:15 PM
To: php-general@lists.php.net
Subject: [PHP] security
How may i prevent my users from reading others php scripts?
--
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