cPanel & WHM Version 114 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Configure ModSecurity Rules per user account and a way to allow users to see its ModSecurity logs

tui shared this idea 6 years ago
Open Discussion

in cPanel, the end user can only enable or disable ModSecurity for their domains, sometimes some ModSecurity rules does not work for all users and users sometimes need to adjust or create its own rules.

A cPanel UI option to disable specific rules and to create its own rules per domain its a must, also the ability to see its own hits/logs/transactions per domain so the user can identify what rule its causing problems with a domain so he can disable or adjust it.

Also the ability to install or add a Vendor per cPanel account, this open a new market to us (as a hosting provider) because we can sell rules through vendors and the user can buy them through its cPanel account.

Replies (1)


From a security perspective, seeing relevant logs and disabling rule IDs should be pretty easy and safe. However, I would probably not let individual users add ModSecurity rules at least not without significant consideration. It may be possible to interfere with other domains traffic, filter or modify data Apache is sending outbound, etc., depending how that is done. Also an incorrect rule syntax can stop Apache from starting (obviously that would have to be checked before restarting Apache) but quite frankly that's a smaller concern in my opinion.

Anyway, IMO an interface in each cPanel account to see hits for the domain(s) and to be able to whitelist rule ID's per domain should be relatively easy to do both well and securely.

Leave a Comment
Attach a file