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 websites through the use of security rules that contain particular expressions. In this way, the firewall can prevent hacking and spamming attempts and shield even sites which are not updated regularly. For instance, several unsuccessful login attempts to a script administrative area or attempts to execute a particular file with the intention to get access to the script will trigger particular rules, so ModSecurity shall block these activities the instant it discovers them. The firewall is very efficient since it monitors the entire HTTP traffic to a website in real time without slowing it down, so it can prevent an attack before any harm is done. It additionally maintains an exceptionally thorough log of all attack attempts that includes more info than standard Apache logs, so you could later analyze the data and take further measures to increase the security of your Internet sites if required.
ModSecurity in Web Hosting
ModSecurity comes standard with all web hosting packages that we supply and it'll be switched on automatically for any domain or subdomain that you add/create in your Hepsia hosting CP. The firewall has three different modes, so you can switch on and deactivate it with a click or set it to detection mode, so it'll keep a log of all attacks, but it'll not do anything to prevent them. The log for each of your sites shall include elaborate info including the nature of the attack, where it came from, what action was taken by ModSecurity, etc. The firewall rules we use are regularly updated and comprise of both commercial ones that we get from a third-party security company and custom ones that our system administrators add in case that they detect a new type of attacks. This way, the Internet sites which you host here will be way more protected with no action expected on your end.
ModSecurity in Semi-dedicated Servers
All semi-dedicated server solutions that we offer include ModSecurity and since the firewall is enabled by default, any site you create under a domain or a subdomain shall be secured immediately. An independent section within the Hepsia CP that comes with the semi-dedicated accounts is devoted to ModSecurity and it shall permit you to start and stop the firewall for any site or switch on a detection mode. With the last option, ModSecurity shall not take any action, but it will still identify possible attacks and shall keep all data in a log as if it were 100% active. The logs can be found within the very same section of the Control Panel and they offer info about the IP where an attack came from, what its nature was, what rule ModSecurity applies to recognize and stop it, etc. The security rules that we use on our machines are a mix between commercial ones from a security company and custom ones created by our system admins. Therefore, we offer greater security for your web programs as we can defend them from attacks even before security corporations release updates for brand new threats.
ModSecurity in Dedicated Servers
All our dedicated servers that are installed with the Hepsia hosting CP feature ModSecurity, so any application you upload or install will be secured from the very beginning and you'll not need to stress about common attacks or vulnerabilities. A separate section inside Hepsia will permit you to start or stop the firewall for each domain or subdomain, or switch on a detection mode so that it records information regarding intrusions, but does not take actions to prevent them. What you shall see in the logs can easily help you to secure your sites better - the IP address an attack came from, what website was attacked and exactly how, what ModSecurity rule was triggered, and so on. With this information, you could see whether an Internet site needs an update, whether you need to block IPs from accessing your web server, etcetera. In addition to the third-party commercial security rules for ModSecurity we use, our admins add custom ones as well when they find a new threat that is not yet in the commercial bundle.