![]() |
|
|
|||||||
![]() |
ASP Net - username & password validation |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
are there special requirements for membership user and password fields other
than length restrictiosns? Thanks! =?Utf-8?B?RGFiYmxlcg==?= |
|
|
|
|
#2 |
|
Posts: n/a
|
You can set the following attributes in the providers section
of your <membership defaultProvider...> element of web.config : minRequiredPasswordLength The default is 7 minRequiredNonalphanumericCharacters The default is 1 So, the answer to your question is "minRequiredNonalphanumericCharacters", i.e., the number of minimum required Non-alphanumeric characters which users must provide. Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =================================== "Dabbler" <> wrote in message news:74CABEE1-DD07-4F1B-B303-... > are there special requirements for membership user and password fields other > than length restrictiosns? > Thanks! |
|
|
|
#3 |
|
Posts: n/a
|
Dabbler,
You can dabble your way on over to the MSDN for the old RTFM and read up on the Membership class' properties: http://msdn2.microsoft.com/en-us/lib...roperties.aspx Most of these can be set in the web.config node for provider. Cheers, Peter -- Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com "Dabbler" wrote: > are there special requirements for membership user and password fields other > than length restrictiosns? > > > > Thanks! |
|