I have written a php program which creates an html file. I got permission denied when I ran it. I chmod directory so everyone can write and everything works fine. Problem is I don't want everyone to be able to write to this directory for security reasons. I just want this one php program to be able to write/create files in the directory.
I have read thru typical messages about how to chmod directory/file so php/Apache, running as nobody, can write to it. But I didn't see anything about selectively allowing some php programs more rights than others. Is this possible?