> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.serverfreak.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Disable Mod_Security in Cpanel

Mod_security module helps to protect your website from various attacks. If mod-security is disabled on your account, your website will be at risk from vulnerabilities. We will not recommend to disable Mod-Security on your account. However,  if the rules of the mod-security tools are interfering with the operations of the website and you do not find modification of rules then the best solution is to disable mod-security.

1. Login to cpanel. Eg : https://yourdomain.com/cpanel

2. Go to the section **‘Security’** and click the icon **‘ModSecurity’**.

![](https://storage.crisp.chat/users/helpdesk/website/30c43b4318b81000/image_11qvw8f.png)

3. Here you can see the option for enabling the ModSecurity. Click the button **‘Disable’**. This action will disabled Mod_Security for all of your domains.

4. You can also disable mod_security for a single domain, Select the domain you want to disable mod_security and click **‘Off’** button to disable.

![](https://storage.crisp.chat/users/helpdesk/website/30c43b4318b81000/image_1fyp0iw.png)

You may also disable Mod_Security from .htaccess file by adding below code :

**<IfModule mod_security.c>**
**  SecFilterEngine Off**
**  SecFilterScanPOST Off**
**</IfModule>**

