Replies: 2 comments 2 replies
-
It's an interesting idea, it seems you can write a custom filter for it. |
Beta Was this translation helpful? Give feedback.
-
I know there's been lots of back and forth throughout the security community over the years on the best ways to handle this. The last time I dug into it here's what I came up with. I believe Myth-Auth may have had this implemented but don't recall for sure.
This always struck me as the best compromise between security and usability. Currently, Shield simply uses CodeIgniter's rate limiting which is a much simpler version of this concept, and probably not quite as effective as what was outlined here. |
Beta Was this translation helpful? Give feedback.
-
This is a cool idea for the shield library.
But if there was a way to define how many failed auth attemps a user is allowed before forcing them to reset their password.
Im pretty sure password resseting is allready an option.
In the ideal scenario, there is a global variable for shield ($authFailAttempts = 3, for example) where you assign it a number and if a user reaches that number to make them reset their password.
Beta Was this translation helpful? Give feedback.
All reactions