Hello,
Early last year, I purchased a hosting service that is running Cpanel/WHM with PHP+DSO. It's been a bit of a nightmare dealing with the security issues presented with running PHP as nobody.
I've been researching suPHP (mainly to get the scripts running as the username) and Suhosin (for that added level of security).
My question is, on established servers, running a fair number of clients, a number of PHP scripts, what issues could I expect to see by enabling suPHP and/or Suhosin?
I'd venture to guess that 95% of the scripts that are installed are from Fantastico. I am assuming that _most_ of the scripts in Fantastico will work with the suPHP + Suhosin.
I'm guessing I'd need to go through each user directory and update the "nobody.nobody" files to "username.username". Also probably search for directories set to 777 and change those to 755 (suPHP should run without needing 777, correct)?
Trying to get an idea of how big of a headache this upgrade may cause. I do believe it is a must upgrade due to all the insecure PHP scripts out there.
Thanks for any feedback!
David
Early last year, I purchased a hosting service that is running Cpanel/WHM with PHP+DSO. It's been a bit of a nightmare dealing with the security issues presented with running PHP as nobody.
I've been researching suPHP (mainly to get the scripts running as the username) and Suhosin (for that added level of security).
My question is, on established servers, running a fair number of clients, a number of PHP scripts, what issues could I expect to see by enabling suPHP and/or Suhosin?
I'd venture to guess that 95% of the scripts that are installed are from Fantastico. I am assuming that _most_ of the scripts in Fantastico will work with the suPHP + Suhosin.
I'm guessing I'd need to go through each user directory and update the "nobody.nobody" files to "username.username". Also probably search for directories set to 777 and change those to 755 (suPHP should run without needing 777, correct)?
Trying to get an idea of how big of a headache this upgrade may cause. I do believe it is a must upgrade due to all the insecure PHP scripts out there.
Thanks for any feedback!
David