Writing to files, security, and chmod 777.
Posted 09 March 2006 - 09:35 PM
What I'm looking for is a way to run the script as myself, so I do not have to insecurely chmod 777 the directory. I would like to keep it 755 and have a secure, safe web site (well, as safe as I can make it, anyway).
How can I accomplish this? Will executing the script with a cronjob work? If I run system("whoami") from a cronjob will it show up as my username rather than "nobody"?
I can't think of any other ways to get around this. I really, really don't want to chmod 777 a directory.
Posted 10 March 2006 - 01:24 AM
Posted 10 March 2006 - 05:56 AM
Posted 10 March 2006 - 08:56 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users