-
ModSecurity is a free and open source web application that started out as an Apache module and grew to a fully-fledged web application firewall. It works by inspecting requests sent to the web server in real time against a predefined rule set, preventing typical web application attacks like XSS and SQL Injection.
-
Prerequisites & Requirements In order to install and configure ModSecurity, you need to have a Linux server with the following services running:
For instructions, see our guide on How to Install Apache Web Server on Ubuntu 20.04 LTS. Installation instructions for several other Linux distributions are also accessible from this guide.
This demonstration has been performed on Ubuntu 20.04. However, all techniques demonstrated are distribution agnostic with the exception of package names and package managers.