Last updated 17 May 2009. Created on 4 June 2005.
Edited by bekasu, catch, LeeHunter, sepeck. Log in to edit this page.

You may find your site being crawled by bad bots, or otherwise find a need to block IP addresses, host names and referrers. This section outlines some common methods to achieve this.

Much of the information presented here is not specific to Drupal, however it provides a quick reference from which you can do more in-depth research if necessary.


For those of you using IIS, I have written a guide on how to block referrer spam using ISAPI Rewrite here;

Blocking referrer spam on IIS with ISAPI Rewrite


Looking for support? Visit the forums, or join #drupal-support in IRC.