ModSecurity is a plugin for Apache web servers that acts as a web app layer firewall. It's employed to prevent attacks towards script-driven Internet sites by using security rules that contain certain expressions. This way, the firewall can prevent hacking and spamming attempts and preserve even websites which aren't updated on a regular basis. For instance, numerous failed login attempts to a script administrator area or attempts to execute a certain file with the intention to get access to the script will trigger specific rules, so ModSecurity will block out these activities the second it detects them. The firewall is incredibly efficient as 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 damage is done. It additionally maintains an exceptionally thorough log of all attack attempts that contains more info than conventional Apache logs, so you can later check out the data and take further measures to increase the security of your sites if needed.
ModSecurity in Web Hosting
ModSecurity comes by default with all web hosting plans which we offer and it shall be switched on automatically for any domain or subdomain which you add/create inside your Hepsia hosting CP. The firewall has 3 different modes, so you can switch on and deactivate it with just a mouse click or set it to detection mode, so it'll keep a log of all attacks, but it shall not do anything to stop them. The log for each of your sites shall contain comprehensive info which includes the nature of the attack, where it came from, what action was taken by ModSecurity, and so on. The firewall rules we use are constantly updated and comprise of both commercial ones which we get from a third-party security firm and custom ones our system administrators add in the event that they detect a new kind of attacks. That way, the sites which you host here shall be much more secure with no action required on your end.
ModSecurity in Semi-dedicated Hosting
All semi-dedicated hosting solutions that we offer come with ModSecurity and given that the firewall is switched on by default, any Internet site that you build under a domain or a subdomain will be protected straight away. A separate section in the Hepsia CP which comes with the semi-dedicated accounts is dedicated to ModSecurity and it shall enable you to stop and start the firewall for any Internet site or activate a detection mode. With the last mentioned, ModSecurity shall not take any action, but it shall still recognize possible attacks and shall keep all data in a log as if it were completely active. The logs could be found in the same section of the Control Panel and they offer details about the IP where an attack originated from, what its nature was, what rule ModSecurity applies to detect and stop it, and so forth. The security rules that we use on our machines are a mix between commercial ones from a security firm and custom ones developed by our system admins. Therefore, we provide increased security for your web programs as we can defend them from attacks even before security companies release updates for completely new threats.
ModSecurity in Dedicated Web Hosting
ModSecurity is offered by default 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 that you create on the web server. Just in case that a web application does not function correctly, you may either disable the firewall or set it to operate in passive mode. The second means that ModSecurity will maintain a log of any potential attack that may take place, but shall not take any action to stop it. The logs created in passive or active mode will 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 info shall permit you to determine what actions you can take to improve the safety of your websites, including blocking IPs or carrying out script and plugin updates. The ModSecurity rules that we employ are updated often with a commercial pack from a third-party security company we work with, but oftentimes our admins include their own rules also in case they find a new potential threat.