An anti-bot system is software that screens traffic to a website or API and decides whether each request comes from a human or a bot, using signals such as IP reputation, browser fingerprint, and behavior. It allows good bots like search engine crawlers, and challenges, rate-limits or blocks traffic it judges malicious.

Cloudflare defines bot management as blocking undesired or malicious bot traffic while letting useful bots keep working.

Bot Scores vs. Allow-or-Block Decisions

Some anti-bot systems score requests rather than making a binary allow-or-block decision. Cloudflare, for example, gives each request a bot score from 1 to 99, and site owners can write rules that block, challenge, or allow requests based on that score.

What Anti-Bot Systems Protect Against

Common targets include:

  • Credential stuffing and brute-force login attempts
  • Data scraping and email address harvesting
  • DoS and DDoS attacks
  • Ad fraud and click fraud
  • Inventory hoarding and shopping-cart stuffing, such as bots buying up event tickets

Good Bots vs. Bad Bots

Not all automated traffic is unwanted. Good bots do a useful job, for example, search engine crawlers, customer service chatbots, and performance-monitoring bots, and they typically follow the rules in a site's robots.txt file. Bad bots misuse a site, from breaking into accounts to buying up tickets. Bot managers can put known good bots on an allowlist so they keep access while other bots are screened.