ModSecurity is a plugin for Apache web servers that functions as a web app layer firewall. It's employed to prevent attacks towards script-driven sites by employing security rules which contain particular expressions. In this way, the firewall can stop hacking and spamming attempts and shield even sites which are not updated regularly. For instance, numerous unsuccessful login attempts to a script admin area or attempts to execute a certain file with the objective to get access to the script will trigger certain rules, so ModSecurity will block these activities the instant it detects them. The firewall is incredibly efficient because it tracks the whole HTTP traffic to a website in real time without slowing it down, so it can easily prevent an attack before any damage is done. It furthermore keeps a very thorough log of all attack attempts that features more information than conventional Apache logs, so you could later examine the data and take further measures to improve the security of your sites if required.

ModSecurity in Web Hosting

We offer ModSecurity with all web hosting packages, so your Internet apps shall be protected against malicious attacks. The firewall is activated by default for all domains and subdomains, but in case you would like, you shall be able to stop it using the respective part of your Hepsia Control Panel. You could also switch on a detection mode, so ModSecurity shall keep a log as intended, but won't take any action. The logs which you will find in Hepsia are very detailed and include info about the nature of any attack, when it transpired and from what IP address, the firewall rule which was triggered, etc. We use a group of commercial rules which are often updated, but sometimes our administrators include custom rules as well in order to efficiently protect the sites hosted on our machines.

ModSecurity in Semi-dedicated Servers

ModSecurity is part of our semi-dedicated server plans and if you choose to host your sites with our company, there shall not be anything special you will have to do since the firewall is switched on by default for all domains and subdomains you add using your hosting CP. If needed, you can disable ModSecurity for a given site or activate the so-called detection mode in which case the firewall shall still function and record information, but shall not do anything to prevent possible attacks against your websites. Thorough logs will be readily available inside your Control Panel and you'll be able to see which kind of attacks happened, what security rules were triggered and how the firewall dealt with the threats, what IP addresses the attacks originated from, etcetera. We use 2 kinds of rules on our servers - commercial ones from a firm which operates in the field of web security, and customized ones which our admins sometimes add to respond to newly identified risks on time.

ModSecurity in VPS Servers

ModSecurity is pre-installed on all VPS servers which are provided with the Hepsia hosting Control Panel, so your web applications will be protected from the second your server is in a position. The firewall is switched on by default for any domain or subdomain on the Virtual Private Server, but if required, you'll be able to deactivate it with a click of your mouse through the corresponding section of Hepsia. You can also set it to operate in detection mode, so it will maintain a comprehensive log of any potential attacks without taking any action to prevent them. The logs are available in the same section and provide information about the nature of the attack, what IP it originated from and what ModSecurity rule was activated to stop it. For maximum security, we use not only commercial rules from a firm operating in the field of web security, but also custom ones our administrators include personally in order to react to new risks which are still not tackled in the commercial rules.

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. In the event that a web application does not operate correctly, you may either switch off the firewall or set it to function in passive mode. The second means that ModSecurity will keep a log of any possible attack that could take place, but won't take any action to prevent it. The logs created in passive or active mode will provide you with more details about the exact file that was attacked, the form of the attack and the IP it came from, and so on. This info will enable you to determine what actions you can take to improve the security of your sites, including blocking IPs or performing script and plugin updates. The ModSecurity rules which we use are updated frequently with a commercial package from a third-party security firm we work with, but from time to time our admins include their own rules also in the event that they identify a new potential threat.