CodeIgniter Forums
Looking for... password quality/strength library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Looking for... password quality/strength library (/showthread.php?tid=56978)



Looking for... password quality/strength library - El Forum - 02-04-2013

[eluser]Unknown[/eluser]
Hi. I'm midway through writing my own code to do this, but to save reinventing the wheel, does anyone already know anything that'll take a password as an argument and specifically:

- reject it if it contains consecutive or incremental numbers (123456,654321,1111111 etc.)
- reject it if it's far too common (password,letmein,8characters,trustno1,passw0rd etc.) as according to the "worst password" lists that are published periodically

Not so bothered about scoring a password for strength, rating it as weak/strong etc. given how subjective and controversial that gets, just want to weed out the bad ones.

Thanks.


Looking for... password quality/strength library - El Forum - 02-04-2013

[eluser]the_unforgiven[/eluser]
You could try jQuery, Ajax or just plain Javascript

Also see: http://ellislab.com/codeigniter/user-guide/libraries/form_validation.html