ModSecurity
Find out what ModSecurity is, how it functions and just what it does in order to protect your sites and apps.
ModSecurity is a plugin for Apache web servers that functions as a web app layer firewall. It's employed to stop attacks toward script-driven websites through the use of security rules that contain particular expressions. That way, the firewall can prevent hacking and spamming attempts and protect even sites which are not updated on a regular basis. As an example, multiple unsuccessful login attempts to a script administrative area or attempts to execute a specific file with the objective to get access to the script shall trigger certain rules, so ModSecurity shall block these activities the instant it discovers them. The firewall is incredibly efficient since it monitors the entire HTTP traffic to a site in real time without slowing it down, so it will be able to stop an attack before any damage is done. It also maintains an exceptionally comprehensive log of all attack attempts which features more info than traditional Apache logs, so you can later analyze the data and take additional measures to improve the security of your Internet sites if necessary.
-
ModSecurity in Dedicated Hosting
ModSecurity is offered by default with all
dedicated servers which are set up with the Hepsia CP and is set to “Active” automatically for any domain you host or subdomain that you create on the hosting server. In case that a web app doesn't operate adequately, you can 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 happen, but will not take any action to prevent it. The logs generated in active or passive mode will provide you with more details about the exact file which was attacked, the type of the attack and the IP address it originated from, and so on. This information shall allow you to determine what actions you can take to increase the security of your websites, such as blocking IPs or carrying out script and plugin updates. The ModSecurity rules which we use are updated constantly with a commercial package from a third-party security company we work with, but sometimes our admins add their own rules as well if they identify a new potential threat.