I'll be launching a new forum, and it's rather customized making updates much harder. I'll obviously try to stay on top of security issues and patch manually, but there is still a possible risk. Heck even a patched application can always have vulnerabilities. So to reduce risk of a security issue compromising the entire server, is there a way I can have php scripts run as a specific user, instead of as apache? Idealy it would be nice if it just ran under whatever user the files' home directory it's in. Then I can create several users to split sites/apps to minimize risk should one get hacked. I could create a bunch of VMs but that's kinda overkill and a management nightmare since then I have that many more OS installations to manage.
Is there a way to do this? Everything I search for and find on Google such as phpsuexec, I read elsewhere that it's "deprecated". What is the proper way to do it now days?
Is there a way to do this? Everything I search for and find on Google such as phpsuexec, I read elsewhere that it's "deprecated". What is the proper way to do it now days?