Jail Apache vs suPHP
I see this issue discussed in several threads but no clear conclusion is offered. So I'm asking for that now.
cPanel security recommendations say to use suPHP, and they say to enable Jail Apache. But Jail Apache requires mod_ruid2 which not compatible with mod_suphp. Therefore we can't follow the recommendations.
Which is the official cPanel blessed recommendation...?
1- remove suPHP (If so, what is an alternative compatible with mod_ruid2?)
2- remove mod_ruid2 (If so, what is the recommended procedure if shell is available to accounts? What is the solution for Apache Symlink Protection which is disabled when Jail Apache/mod_ruid2 are unavailable?)
-
Hello, If you are focused on security, I'd go with DSO and Mod_Ruid2. However, it's important to review the considerations for each handler on the following document: PHP Handlers - EasyApache 4 - cPanel Documentation You may also find this document helpful: How to Harden PHP - cPanel Knowledge Base - cPanel Documentation As far as protection against symlink attacks, we recommend using the cPanel hardened kernel or CageFS if possible: Symlink Race Condition Protection - EasyApache 4 - cPanel Documentation Thank you. 0 -
Hello, If you are focused on security, I'd go with DSO and Mod_Ruid2. However, it's important to review the considerations for each handler on the following document: As far as protection against symlink attacks, we recommend using the cPanel hardened kernel or CageFS if possible:
0 -
Not to hijack this thread, but how does one enhance server performance when using these security profiles?
Hello, Performance often depends on several factors. Could you provide some more details about the server in-question (e.g. types of websites, server hardware, amount of traffic)? Thank you.0
Please sign in to leave a comment.
Comments
3 comments