Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: What are acceptable web user id & password?

by swkronenfeld (Hermit)
on Jun 05, 2006 at 14:55 UTC ( #553609=note: print w/replies, xml ) Need Help??

in reply to What are acceptable web user id & password?

To address the Perl question first, once you determine what characters are allowable in passwords, just use an inverted character class to determine if any unacceptable characters are supplied. To invert a character class, add a caret to the front of it. For example,
# Just add any other valid characters after the \w if($password =~ /[^\w]/) { # invalid character supplied }
As for what characters to allow...are you asking about password strength for heightening security? I'm not aware if there's an industry standard, but I've often seen password schemes that require picking at least 3 different characters classes (where the four classes are often uppercase, lowercase, punctuation and numbers).

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://553609]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (1)
As of 2022-11-26 13:33 GMT
Find Nodes?
    Voting Booth?