How to turn ModSecurity on or off

Manage the web application firewall that protects your websites from common attacks.

Updated September 27, 20261 min read

ModSecurity is a web application firewall. It blocks many common attacks before they reach your website, so keep it turned on.

cPanel › Security › ModSecurity

  1. Log in to cPanel.
  2. In the Security section, click ModSecurity.
  3. Use the switch next to each domain to turn protection On or Off.

Sometimes ModSecurity blocks something legitimate, like saving a page in your website’s editor. Rather than turning it off, open a support ticket with the page address and the time it happened, and we’ll adjust the rule for you.

If you turn it off to test something, turn it back on straight away.

Didn’t solve your problem?

Our team is here to help, any time, day or night.