Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

StackOverflow CAPTCHA Triggers

Normally whenever a CAPTCHA might be needed I always present it to the user apriori but the StackOverflow approach is much better, it only shows me the CAPTCHA when it thinks I might be a bot.

I'm interesting in learning the requirements and how I could implement a similar system on my projects. What are the actions that make SO believe I'm a bot? Is there any time frame for doing such actions? Does such a system require any particular database design?

like image 580
Alix Axel Avatar asked Jul 25 '26 20:07

Alix Axel


1 Answers

I would log time between actions, and if under (for example) 10 seconds then require a CAPTCHA to continue.

like image 53
alex Avatar answered Jul 28 '26 15:07

alex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!