imbra - How to Enable ModSecurity for a Website in iPanel

ModSecurity is a Web Application Firewall (WAF) that protects your website from common attacks like SQL injection and cross-site scripting (XSS).

Steps

  1. Navigate to your website management page in iPanel.

    [screenshot: website management page]

  2. Click the Security tab.

    [screenshot: security tab]

  3. In the WAF Settings section, find the WAF Mode dropdown.

    [screenshot: WAF mode dropdown]

  4. Select Enabled to activate ModSecurity protection.

    [screenshot: selecting Enabled from WAF mode dropdown]

  5. Choose your preferred Ruleset: OWASP, COMODO, External, Local, or Custom.

    [screenshot: ruleset selection]

  6. Click Save Changes to apply.

    [screenshot: save changes button]

Tip: Start with the OWASP ruleset as it provides comprehensive protection against the most common web vulnerabilities.

Related Articles