Hi,
I come from a suPHP background. We use suExec with LS configured directly via LS virtualhosts.
We can see that PHP scripts are running as the user, not as the LS server which is great. However there appears to be little benefit to this approach namely:
1) LS still executes PHP scripts if they are owned by a completely different user/group.
2) LS still executes PHP scripts if the directory they reside in is 777 *and* if the directory is not owned by the user/group.
Surely these are the that suExec is supposed to prevent? Have I missed something obvious?
Thanks.
I come from a suPHP background. We use suExec with LS configured directly via LS virtualhosts.
We can see that PHP scripts are running as the user, not as the LS server which is great. However there appears to be little benefit to this approach namely:
1) LS still executes PHP scripts if they are owned by a completely different user/group.
2) LS still executes PHP scripts if the directory they reside in is 777 *and* if the directory is not owned by the user/group.
Surely these are the that suExec is supposed to prevent? Have I missed something obvious?
Thanks.