

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: DoS
incomplete
2: Rate Limiting
incomplete
3: Protecting Auth from Abuse
incomplete
4: Throttling Requests
incomplete
5: Queuing Work
incomplete
6: Resource Limits
incomplete
7: Timeouts
incomplete
8: Usage Quotas
incomplete
9: DDoS
incomplete
10: Mitigating DDoS
incomplete
11: Bot Detection
incomplete
12: CAPTCHA
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Bot detection can reduce automated abuse of application features, but it neither stops every unwanted bot nor absorbs a DDoS flood. These checks only run after traffic reaches your application, and legitimate crawlers, monitors, and API clients can look automated too.
Good detection combines multiple weak signals. Any single signal is noisy – a high request rate could be a bot or a legitimate power user. Multiple signals together are more useful:
A suspicious IP alone isn't enough to block a request, but a suspicious IP combined with an unusual user agent and a high request rate is much more interesting.
Most companies I've worked for used an off-the-shelf cloud product for bot detection at scale instead of rolling their own.
Bearly Secure's sign-up form accepts every request that reaches it.
Connect the bot-risk policy to sign-up.
<label hidden>
Leave this field blank
<input
name="companyWebsite"
type="text"
tabindex="-1"
autocomplete="off"
/>
</label>
With Bearly Secure still running, run and submit the CLI tests from the project root.