how to protect a site using the htaccess file

It is becoming increasingly difficult to protect a site from being hacked! Below are some lines which can be added to the .htaccess file to protect a site against some of the most common vulnerabilities: # prevent access from santy webworm a-e RewriteCond %{QUERY_STRING} ^(.*)highlight=\%2527 [OR] RewriteCond %{QUERY_STRING} ^(.*)echr(.*) [OR] RewriteCond %{QUERY_STRING}% s:(.*)252echr [OR] RewriteCond […]