I have a website developed using asp.net/C#. I would like to lock an user account on 5 consecutive login failures within a time period of 30 minutes. I do not want to do this on database side. And I know this is cannot be done by session variables. I also do not want to use cookies for this, as a user can easily disable cookies.
Is there a perfect way to do this with above limitations?
So, no cookies, no session data, no database. Okay, but you need to store the bad-login information somewhere. And it will have to be server-side, because you can't trust any data from the client. So that means a database, or a file, or a magic hat — but you'll need something on a server somewhere holding this data. Options I see:
You get the idea.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With