Parallels Plesk 12 features complete integration of the ModSecurity, the Open Source Web Application Firewall for the Apache web server. This integration provides an easy to configure interface as well as a default set of rules which can prevent security exploits, malicious attacks and malformed requests to your websites.

Note: This feature is available on all Plesk 12 Editions as part of the "Core Security" feature. 


  1. Login to Plesk.
  2. On the left hand side, select Tools and Settings: 
    plesk 12 - server management - tools and settings
  3. Click on Updates and Upgrades on the right hand side:
    plesk 12 - updates and upgrades
  4. This will open a new window.
  5. This may also ask for the root password. If required, enter the root password for the server:
    plesk 12 plesk installer root password
  6. Click on "Add and Remove Product Components":
    plesk 12 - add / remove components
  7. Under "Plesk hosting features", select "ModSecurity Web Application Firewall for Apache":
    plesk 12 - modsecurity installer option
  8. Click Continue down the bottom to install.
  9. Once the installation is complete, you should see a confirmation that the installation has successfully completed. You can now close this window.


  1. Click on Tools and Settings, then select "Web Application Firewall (ModSecurity)" under Security:
    plesk 12 - security - modsecurity
  2. Here is where you can select three different modes for ModSecurity:
    plesk 12 - mod security mode
    For this support article, we're going to use "Detection Only" so that it doesn't interfere with working sites. Once you're confident that the rules are working well, you can change the setting to "On" to actively block bad requests.

    Conetix recommends thoroughly testing the rules for at least 2 weeks before actively blocking requests.

  3. Next, select the rule set you'd like to use. By default, this is the "Atomic Basic ModSecurity Rule Set" which is bundled with Plesk:
    plesk 12 - modsecurity ruleset selection
  4. Enable "Update rule sets" and set this to weekly:
    plesk 12 - update rulesets
  5. Under "Configuration", you have three options for the rule sets. The options available are Fast, Tradeoff and Thorough:
    plesk 12 - modsecurity - predefined values
    Each level requires more server resources (CPU and memory) as the level of security increases. Conetix suggests testing the effectiveness of "Fast" before using any high setting so as not to affect the performance of the websites on the server.
  6. Click OK to apply the settings. This will restart Apache and load the new ModSecurity settings.
Was this article helpful?

Related Articles