ModSecurity is a plugin for Apache web servers that acts as a web app layer firewall. It is employed to stop attacks toward script-driven Internet sites through the use of security rules that contain particular expressions. This way, the firewall can block hacking and spamming attempts and shield even Internet sites that are not updated frequently. For example, numerous failed login attempts to a script administrator area or attempts to execute a specific file with the intention to get access to the script will trigger specific rules, so ModSecurity shall block these activities the instant it discovers them. The firewall is incredibly efficient since it screens the entire HTTP traffic to a website in real time without slowing it down, so it will be able to stop an attack before any harm is done. It also keeps a very thorough log of all attack attempts that contains more information than conventional Apache logs, so you can later analyze the data and take extra measures to boost the security of your websites if required.

ModSecurity in Cloud Hosting

ModSecurity can be found with every cloud hosting package that we offer and it's switched on by default for every domain or subdomain which you include via your Hepsia Control Panel. If it interferes with any of your programs or you'd like to disable it for whatever reason, you shall be able to accomplish that through the ModSecurity area of Hepsia with simply a click. You may also enable a passive mode, so the firewall will detect possible attacks and maintain a log, but will not take any action. You can view comprehensive logs in the same section, including the IP where the attack originated from, what precisely the attacker aimed to do and at what time, what ModSecurity did, and so on. For optimum safety of our customers we use a collection of commercial firewall rules mixed with custom ones which are provided by our system administrators.

ModSecurity in Dedicated Servers

ModSecurity is offered as standard with all dedicated servers which are set up with the Hepsia Control Panel and is set to “Active” automatically for any domain you host or subdomain you create on the hosting server. Just in case that a web application doesn't function correctly, you could either disable the firewall or set it to function in passive mode. The latter means that ModSecurity will keep a log of any possible attack that might happen, but won't take any action to stop it. The logs generated in active or passive mode shall provide you with more details about the exact file which was attacked, the form of the attack and the IP it originated from, etcetera. This data shall permit you to determine what actions you can take to enhance the safety of your websites, including blocking IPs or performing script and plugin updates. The ModSecurity rules that we employ are updated regularly with a commercial bundle from a third-party security firm we work with, but oftentimes our staff include their own rules as well when they discover a new potential threat.