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:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 9:15 PM
To: [EMAIL PROTECTED]
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: [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]