Preventing Brute Force Using Node and Express JS

Dave picture Dave · Oct 30, 2013 · Viewed 14.3k times · Source

I'm building a website using Node and Express JS and would like to throttle invalid login attempts. Both to prevent online cracking and to reduce unnecessary database calls. What are some ways in which I can implement this?

Answer

Dave picture Dave · Nov 7, 2013

So after doing some searching, I wasn't able to find a solution I liked so I wrote my own based on Trevor's solution and express-brute. You can find it here.