MeNeedz Password - 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: MeNeedz Password (/showthread.php?tid=14421) |
MeNeedz Password - El Forum - 01-02-2009 [eluser]davidbehler[/eluser] Have you ever been in need of a simple to use helper that lets you check a given password for its strength or generates secure passwords? Yes? Then your waiting has come to an end! I proudly present the newest addition to the MeNeedz club: My password helper! Ok, i know there are propably already plenty of the out there but I kinda like to do stuff myself or in my own way and that's why i created this little helper. Just grab it from here: --> click me <-- View the user guide here (also included in the download: --> click me <-- Please tell me what you think of the helper! Maybe you have some ideas on how to improve the checking/generating! Greets, waldmeister MeNeedz Password - El Forum - 01-04-2009 [eluser]davidbehler[/eluser] More than 50 views but no reply? No need for such a helper? MeNeedz Password - El Forum - 01-04-2009 [eluser]Colin Williams[/eluser] I bookmarked it. Do you want a sticker or something? MeNeedz Password - El Forum - 01-04-2009 [eluser]davidbehler[/eluser] Haha, sticker would be nice Just wanted some feedback, didn't want to get on someones nerves MeNeedz Password - El Forum - 01-04-2009 [eluser]hugle[/eluser] Hi waldmeister. I will use it in my password_reset function. Seems nice helper to me! thanks. MeNeedz Password - El Forum - 01-04-2009 [eluser]Colin Williams[/eluser] Ha. I'm just goofing around. MeNeedz Password - El Forum - 01-04-2009 [eluser]Iverson[/eluser] Cool. I'm hooking this in with xajax and asynchronously displaying how secure (or insecure) the password is. One thing I did change however, was the return values. Instead of strings, you might want to turn this into a lib so people can dynamically change the values with a config file. This would take care of the language barriers, etc. In my case, I just used the code below so I can do what I want with the values. Great idea for a helper... Code: $very_secure = 7; MeNeedz Password - El Forum - 01-05-2009 [eluser]davidbehler[/eluser] Internationalization is a good reason to turn it into a library, you are right. I might update it later! Are there any other password related function you might wanna have in such a library? Maybe generating readable passwords or something like that? MeNeedz Password - El Forum - 01-05-2009 [eluser]Rick Jolly[/eluser] Why not just return the score (an integer between 0 and 100) and let the user decide how to proceed? That would eliminate all those conditionals. Also, the helper would be more flexible if points could be defined as config values for each section. MeNeedz Password - El Forum - 01-05-2009 [eluser]Iverson[/eluser] [quote author="Rick Jolly" date="1231200786"]Why not just return the score (an integer between 0 and 100) and let the user decide how to proceed? That would eliminate all those conditionals. Also, the helper would be more flexible if points could be defined as config values for each section.[/quote] There still has to be some type of standard for what makes the password whatever strength it is i.e. greater than or equal 90, 80, 69, or whatever. If someone has to go through the trouble of defining the strength definitions, to me that kinda defeats the purpose of having a helper. |