So my group is trying to set up a shared-server environment for various and sundry web services. I think we've settled on setting disable_functions
and disable_classes
site wide in php.ini
and php_admin_value
to force open_basedir
in each app's httpd.conf
for php scripts, and passenger's user switching for ruby scripts.
We still need to find something for python though. Passenger does support python, but not for per-application security for specific sub-directories (it's all or nothing at the domain level).
Any suggestions?
(And if any of the previous doesn't make sense - well, I'm the guy who's supposed to set up the python support, not the guy who set up the php or ruby support, so there's still some "and then some magic happens" steps in there from my perspective).