How can I force the user to fill out a captcha after a specific number of failed login attempts with

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-06-11T08:35:31Z Indexed on 2010/06/11 11:03 UTC
Read the original article Hit count: 360

I'm trying to secure my rails 3 app against brute force login guessing. I'm using authlogic. What's the best way to force a user (or bot) to fill out a captcha after a specific number of failed login attempts? Does authlogic have a built in mechanism for recording how many consecutive failed attempts came from the same ip? I'd appreciate any help.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about security