|
-
September 13th, 2006, 01:38 AM
#1
implementing password complexity
hi can i get help to write code for password complexity?when a user logs in,the code should check for something like this:
while(*pw){
if( *pw => 'A' && *pw <= 'Z' )
uc=1;
else if( *pw >= 'a' && *pw <= 'z' )
lc=1;
else if( *pw >= '0' && *pw <= '9' )
num=1;
pw++;
}
the code should also check for a minlen of 6 and maxlen of 12.
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|