Preventing other users on my server from viewing my php.
| From: | Kevin Halverson | Date: | Thu, 28 Feb 2002 04:56:00 +0000 |
| Subject: | Preventing other users on my server from viewing my php. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86517@lists.php.net to get a copy of this message | ||
Can anyone tell me a way I can prevent other users on my server from
viewing my php files? (I have mysql passwords in these files, and the way
it is now, anyone with an account on my server can cd to my www directory
and view my files).
I could do something like this:
-rw-r----- me nobody index.php
but my admin won't add me to the nobody group, and I don't want to have to
contact him to change the group of my files every time I make a new
addition to my site.
Thanks in advance!