Closed jaredkove closed 5 years ago
For whomever implements this, it will mostly involve changes to the controllers present in app/Http/Controllers/Auth/
.
LoginController.php
RegisterController.php
ResetPasswordController.php
Specifically you will need to override methods provide by some of the traits those controllers use.
I've already implemented this in a private repo, ask me for the link to the commit if needed.
Enterprise software should always have security at its heart.
We've (@DivineOmega) recently developed a Laravel Package that ensures we follow NIST's password standards by default - it would be good to get this incorporated into the boilerplate and have it on the register/reset password screens.
As an overview:
BreachedPasswords
rule securely checks the password against previous 3rd party data breaches, using the Have I Been Pwned - Pwned Passwords API.DictionaryWords
rule checks the password against a list of over 102k dictionary words.ContextSpecificWords
rule checks the password does not contain the provided username, and any words defined the configured app name or app URL.DerivativesOfContextSpecificWords
rule checks the password is not too similar to the provided username, and any words defined the configured app name or app URL.