How can I lockout login for 5 minutes if 5 bad attempts are made |
Hello,
Im trying to lock the login for 5 minutes if 5 bad attempts are made in a row to help deter brute force hackers. Does anyone have any methods they usually use in CodeIgniter? Thanks!
I would highly recommend that you use a reputable Auth library for CodeIgniter instead of building something by yourself. There is a lot of security to think of and easy to miss if you don't know exactly what you are doing.
I recommend Ion Auth, it is one of the best auth libraries for CI. It also include lockout functionality that you are looking for.
Are there any other things you recommend to make the login/site secure?
Some basics and things I always recommend for basic security
And if you want to go all the way
That is what I can think of atm, but it is late here so I will update if I can come up with anything else another day. |
Welcome Guest, Not a member yet? Register Sign In |