Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Complex passwords

Reply
Thread Tools

Complex passwords

 
 
BigSam
Guest
Posts: n/a
 
      09-11-2007
I'm trying to create a web page that allows remote users to change their
domain passwords. I'm using the ChangePassword control on the web page. The
domain security policy has Password must meet complexity requirements enabled.

Does anyone know how to write a regular expression that meets the W2k3
password complexity requirements? The one I'm using isn't quite right:
"(?=^.{7,}$)(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()_+}{":;'?/>.<,])(?!.*\s).*$"

Can I allow the following properties to default to their default vales?
minRequiredPasswordLength
minRequiredNonalphanumericCharacters
passwordStrengthRegularExpression
I've tried putting the above regular expression in this last field, but
still cannot get past the failed state when trying to change a password.

Can I modify the Security policy to require Upper, Lower, Numeric & special
characters? I believe that matches the regular expression above.

Thanks in advance.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How complex is complex? Kottiyath Python 22 03-28-2009 10:11 PM
wsdl2java: method parameter a complex type that extends another complex type Robert Mark Bram Java 0 02-04-2007 10:06 AM
Wireless LAN with PEAP and Passwords Aironet 1200 AdminKen Wireless Networking 3 09-04-2006 04:03 AM
[XML Schema] Content type of complex type definition with complex content Stanimir Stamenkov XML 2 10-25-2005 10:16 AM
For expert on complex loops (reposted) - complex looping problem news.amnet.net.au Java 1 04-13-2004 07:10 AM



Advertisments