![]() Then select ModSecurity from the list, it is listed on the Short Options list, almost at the begining of the EasyApache process.Įxpected more? No, it’s fast and easy if you use EasyApache. ModSecurity can be installed from WHM > Software > EasyApache. Which makes all the process super fast and easy for most new cPanel WHM users.ĮasyApache installs whm cpanel mod security configuration files, which later can be tweaked from WHM interface to increase cpanel security. How can I install ModSecurity on cPanel servers?ĬPanel Mod Security installation comes from EasyApache. If you are a legitimate user, you will have to contact your server hosting provider to disable mod_security for your account, or disable the mod_security rule that is preventing your site to work normally.īe aware that disabling mod_security for the entire domain or server is a big security risk, my advise is always to disable specific rules per domain, and not globally. In this case, a 406 error will appear at the browser and server error_log file when mod_security is enabled.Īll websites running Mod_Security will always show a 406 error, it’s the typical mod security error. ![]() If your site is running Mod_Security, you will certainly be safe from this kind of attacks as they will be blocked from running. This is a common SQL injection that tries to run a classic ‘DROP TABLE’ against the ‘users’ table from the database running at ‘’ website. One simple example would be this DROP TABLE query made from a vulnerable URL: '">DROP%20TABLE%20users. In this cases, cPanel Mod_security can help to prevent web attacks to your applications. By doing simple things like validating input you can prevent lot of security issues with your servers and apps. When people is developing a dynamic web page, 99% of the time they forget to write secure code to prevent hacks and general attacks to their web applications. Mod_Security is an open source & free software, and today we will learn how to install this fantastic security tool on a cPanel server. As any WAF, it helps system administrators to keep their systems secure, preventing known and unknown web attacks like: ModSecurity is one of the oldest and most popular Web Applications Firewalls around.
0 Comments
Leave a Reply. |