Thanks Chris, I appreciate your words of support

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
[EMAIL PROTECTED]
http://www.esu.edu

-----Original Message-----
From: Christopher Jordan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 08, 2007 10:40 AM
To: CF-Talk
Subject: Re: Validate Password

I've got some thoughts:

Steve LaBadie wrote:
> I need to validate for a strong password with the following
requirements:
>
>  
>
> 1. Must be at least 8 characters in length (127 characters max)  
>   
This one is a piece of cake. <CFIf Len(Password) GTE 8 AND Len(Password)

LTE 127>
> 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 _ # @ $ ^ *)
>   
This one's the booger right? Well, for uppercase vs. lowercase (and 
special characters, come to think of it) I think you'll have to check 
the ascii value of each non-numeric character in the password string. 
That is if there isn't some sort of IsUpperCase() or IsLowerCase() 
functions already in existence... in fact you may want to write those 
functions.

I'd probably scan the password a character at a time running the tests 
on each one and keeping a tally of each success. At least one success 
for each test, and the password is good right? (as long as it meets 
length and history requirements, of course).
> 3. Must not be the same as any of the previous three passwords used
>   
For this one it seem to me that you would need to keep a table in a 
database that contains each user's password history. Three records for 
each user. That kind of thing.

Well, those are my thoughts. Hope they help.

Cheers,
Chris
>  
>
> Steve LaBadie, Web Manager
> East Stroudsburg University
> 200 Prospect St.
> East Stroudsburg, Pa 18301
> 570-422-3999
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
> http://www.esu.edu <http://www3.esu.edu> 
>
>  
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:269173
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to