Web Scraping - Technical Measures To Stop Bots

Technical Measures To Stop Bots

The administrator of a website can use various measures to stop or slow a bot. Some techniques include:

  • If the application is well behaved, adding entries to robots.txt will be adhered to. Google and other well-behaved bots can be stopped this way.
  • Blocking an IP address. This will also block all browsing from that address.
  • Disabling any web service API that the website's system might expose.
  • Bots sometimes declare who they are and can be blocked on that basis; 'googlebot' is an example. Some bots make no distinction between themselves and a human browser.
  • Bots can be blocked by excess traffic monitoring.
  • Bots can sometimes be blocked with tools to verify that it is a real person accessing the site, like a CAPTCHA. Bots are sometimes coded to explicitly break specific Captcha patterns.
  • Commercial anti-bot services: Several companies, such as Distil, SiteBlackBox and Sentor, offer anti-bot and anti-scraping services for websites. A few Web Application Firewalls have limited bot detection capabilities as well.
  • Locating bots with a honeypot or other method to identify the IP addresses of automated crawlers.
  • Using CSS sprites to display such data as phone numbers or email addresses, at the cost of accessibility to screen reader users.

Read more about this topic:  Web Scraping

Famous quotes containing the words technical, measures and/or stop:

    Where there is the necessary technical skill to move mountains, there is no need for the faith that moves mountains.
    Eric Hoffer (1902–1983)

    They who have been bred in the school of politics fail now and always to face the facts. Their measures are half measures and makeshifts merely. They put off the day of settlement, and meanwhile the debt accumulates.
    Henry David Thoreau (1817–1862)

    No one will stop to help you when you are in need, but everyone forces opinions upon you that you do not require.
    Franz Grillparzer (1791–1872)