You can deny access to a certain IP Address from browsing your web site, for example if you know someone/something has been flooding your site with useless requests or slurping all your site's content.
This tip applies only to Unix hosting accounts using Apache as the web server.
Place a file called .htaccess into your web directory and add the following line into the file:
For Apache 2.4 server:
Require all granted
Require not ip 188.8.131.52
For Apache 2.2 server:
Deny from 184.108.40.206
Where 220.127.116.11 is the IP address that you wish to block. The IP Address can be in the format Make sure you are not blocking things unnecessarily.
For further information see: