Howdy,
Let’s say I have a directory with some PHP files in it: /home/site.com/run
I want to be able to execute these as PHP from the site index /home/site.com, (I’ve been using include())
But at the same time I want the scripts themselves (the ones in /home/site.com/run) to not be allowed to read and write any file.
I tried CHMOD 111 on the /run directory, and that did indeed stop the scripts reading and writing, but unfortunately it also prevent the site index /home/site.com from accessing them at all.
How can I meet both of these conditions?
Thanks :o