Steve:

I wrote an article on using regular expressions to validate strong
passwords.  It doesn't include all of your requirements, but it's a good
head start.  The last example in my article includes checking for
upper-case alpha, lower-case alpha, and numeric.  All you need to do is
write the additional grouping for your special characters.

http://www.fusioncube.net/index.php/password-regular-expression-fun.html


Steve Brownlee
http://www.fusioncube.net/
 

-----Original Message-----
From: Steve LaBadie [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 08, 2007 9:47 AM
To: CF-Talk
Subject: Validate Password

I need to validate for a strong password with the following
requirements:

1. Must be at least 8 characters in length (127 characters max)  
2. Must contain at least three (3) of the four (4) following types of
characters: 
  a. Uppercase letters
  b. Lowercase letters
  c. Numbers
  d. Special characters (such as _ # @ $ ^ *)
3. Must not be the same as any of the previous three passwords used

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269177
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to