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!

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to