Tag Info

New answers tagged

0

You can put this script into you're .htaccess file on root directory of you're website: ## block IP access ## order allow,deny deny from 81.17.31.162 deny from 81.17.31.164 allow from all ## block IP access ## In this case make all IP Address unless 81.17.31.162 and 81.17.31.164 to access you're website


3

the rule to activate in mosecurity can be found in base_rules/modsecurity_crs_21_protocol_anomalies.conf That would block access to the website when accessed through server IP.


2

Here is an .htaccess option for you: RewriteEngine On RewriteCond %{HTTP_HOST} ^10\.0\.11\.101$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R,L] ...to redirect and... RewriteEngine On RewriteCond %{HTTP_HOST} ^10\.0\.11\.101$ [NC] RewriteRule .* - [F,L] ...to block. Obviously, you will need to change the IP address and domain name to suit your ...


0

From a security perspective, it is a smart move. Most websites with heavy traffic will have a CDN used somewhere. So any attempted DOS or DDOS attack will simply dissipate away through the CDN servers and won't reach the user site. However, if a user is aware of the site's IP address, he or she can directly fire an attack at the IP and bring down the ...



Top 50 recent answers are included