Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Security - mod_security and ruid2 (NOOB security question)

Discussion in 'EasyApache' started by symster, Apr 19, 2016.

  1. symster

    symster Registered

    Apr 12, 2016
    Likes Received:
    Trophy Points:
    the office nextdoor
    cPanel Access Level:
    Root Administrator

    i'm trying to "do all the right things" on my new server.
    so i'm obligingly following the configserver security & firewall directions, and the security advisor directions.
    one of the tips is to enable mod ruid2 to get the jailcells going, and then - another tip is to get apache safe with mod_security.
    from documentation on this site, i see that this is like locking cain and abel in the same room with a pile of rocks and a bottle of rum, and there's no mediation in sight.

    be that as it may - i really just want to keep my little server safe, minimize attacks on websites and on mail functionality, with the least amount of infighting inside the server.

    what's the best practice course of action?
    what are the influencers when choosing my weapons between mod_security / mod ruid2?

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Some users prefer to use CageFS as a filesystem-level alternative to Mod_Ruid2+Jailshell:


    You can review the various options for protection against symlink attacks at:

    Symlink Race Condition Protection - EasyApache - cPanel Documentation

    You may also find the following documents helpful when attempting to secure your server:

    Tips to Make Your Server More Secure - cPanel Knowledge Base - cPanel Documentation
    How to Secure SSH - cPanel Knowledge Base - cPanel Documentation

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice