hi,
i decided to finally ask this one:
let's say i go for a shared hosting. okay, they create user "myname" for me. files in my directory get this kind of permissions:
-rwx-rwx-r--- myname.mynamegrp
now i would like to create a directory from PHP script. because apache runs "nobody" user, i need to change permission on my root directory to give other users [apache user] the option to WRITE on my directory structure. when i do that all other users on the same box will be able to read my PHP files.
my question is: when you are on shared machine, how do you configure permissions so you will be able to:
1) create files & directories
2) other users will be unable to read your PHP files
whatever i do... if apache will be able to read/delete my files, that means all other scripts on the same machine can do that too. theoretically i could delete everyone's files that way?
Matjaz