In short: free techniques stop simple spam bots, but advanced bots mimic people and use thousands of IP addresses. Bot management systems protect against them by scoring the risk of every request while letting useful bots, such as search engines, through.
Good bots and bad bots
A bot is a program that visits websites and performs actions automatically. Not every bot is a problem. Good bots include search engine crawlers that index your site, uptime monitoring tools and price comparison bots you work with. Blocking them hurts you — without Google’s crawler there’s no ranking on Google.
Bad bots work against you or your customers. They often pretend to be ordinary browsers, use thousands of IP addresses and mimic mouse movement, so a simple filter can’t tell them from people.
AI crawlers, which collect content to train models or answer questions, are a separate group. Whether to let them in is a business decision, not just a technical one.
What bad bots do
| Attack | How it works | Who it affects most |
|---|---|---|
| Credential stuffing | Mass login attempts with username–password pairs stolen in other breaches | Online stores, banks, services with customer accounts |
| Scraping | Copying prices, descriptions, images and content | E-commerce, portals, classifieds |
| Scalping and inventory hoarding | Bots add limited products or tickets to carts, or buy them, faster than people can | Stores with product drops, ticketing |
| Fake accounts | Mass sign-ups to abuse promotions, spam or commit fraud | Services with loyalty programmes and promotions |
| Carding | Testing stolen card numbers with small payments | Online stores and payment gateways |
| Form spam | Flooding contact forms and comments | Any site with a form |
| Layer 7 DDoS | Flooding search, login or the cart with expensive requests | Any web application |
Signs you have a bot problem
- traffic grows but sales don’t — conversion drops for no obvious reason,
- many failed logins, especially to different accounts from the same or similar sources,
- spikes in new sign-ups with similar email addresses,
- limited products sell out in seconds and reappear on resale sites at higher prices,
- competitors react to your price changes suspiciously fast,
- lots of small, declined card payments,
- analytics show sessions with no mouse movement and unnaturally short time on page.
Protection methods — from simple to advanced
Honeypots and timing checks
A hidden form field that people don’t see but bots fill in, plus a check for forms submitted unnaturally fast. Simple and free, but it mostly stops basic spam bots.
CAPTCHA
Effective against some bots, but it annoys customers and lowers conversion. Advanced bots now solve it automatically or through cheap CAPTCHA-solving services.
Rate limits and IP blocking
Limiting requests per address helps against simple attacks. Modern bots, however, spread traffic across thousands of addresses, including residential ones, so per-IP limits are no longer enough.
robots.txt
robots.txt is a request, not a security control. Good bots, including search engines and some AI crawlers, respect it, but malicious bots ignore it.
Bot management
Dedicated solutions are the most effective. They assess each request on many signals at once: browser and device characteristics, user behaviour, source reputation and patterns seen across other sites. Every request gets a risk score, and you decide what to do with it.
Don’t just block — tailor the response
An immediate block tells the bot it has been detected, so its operator quickly adapts it. That’s why enterprise systems offer several responses:
- monitor — just observe and collect data,
- slow down — the bot gets a delayed response, raising the cost of the attack,
- challenge — for example a cryptographic task a human’s browser solves invisibly but that is costly for a bot at scale,
- serve alternate content — the bot gets a different, for example cached, response,
- block.
Different parts of a site need different approaches: protect login and checkout aggressively, and the product catalogue more gently so search engines and customers aren’t affected.
What about AI crawlers?
Crawlers from companies building AI models download website content. Some site owners want to be visible in AI answers as a new source of traffic; others don’t want to give their content away for free. Most reputable AI crawlers identify themselves and respect robots.txt, so that’s where you set basic rules. Bot management systems go further: they recognise the crawler’s category and let you allow, limit or block it according to your policy.
Bot protection with Akamai
Akamai Bot Manager scores every request for risk using machine learning running on the Akamai network, recognises known bots from its directory, applies cryptographic challenges and lets you set different thresholds for different parts of your site. Account Protector complements it to protect accounts from takeover. Find out more on our Bot Manager page.
Frequently asked questions
How do I protect my website from bots?
Honeypots in forms, rate limits and CAPTCHA stop simple bots. Against advanced bots that mimic people and use thousands of IP addresses, only bot management systems that score each request on many signals are effective.
Does CAPTCHA stop bots?
Partly. It stops simple bots, but advanced ones solve it automatically or through paid services, while real customers find it annoying and convert less. It’s best used as one of several responses to suspicious traffic.
Does robots.txt block bots?
No. robots.txt is a request respected by search engines and some AI crawlers. Malicious bots ignore it, so it isn’t a security control.
How can I recognise bot traffic on my site?
Signs include rising traffic without rising sales, many failed logins, waves of similar sign-ups, limited products selling out instantly and sessions with no mouse movement. Log analysis or a bot management system confirms it.
Should I block AI crawlers?
It’s a business decision. AI crawlers can bring visibility in AI assistants’ answers, but they take your content. Set basic rules in robots.txt; a bot management system gives precise control.
Will bot protection block Google?
It shouldn’t. Good bot management systems recognise and verify search engine crawlers and other useful bots and let them through.
Find out how much of your traffic is bots
We deploy Akamai Bot Manager and help you tune the rules for your store or service.