Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > username & password validation

Reply
Thread Tools

username & password validation

 
 
=?Utf-8?B?RGFiYmxlcg==?=
Guest
Posts: n/a
 
      08-06-2006
are there special requirements for membership user and password fields other
than length restrictiosns?



Thanks!
 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      08-06-2006
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> are there special requirements for membership user and password fields other
> than length restrictiosns?
> Thanks!



 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      08-06-2006
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!

 
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
Change a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 1 01-16-2009 02:56 PM
Changing a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 2 01-16-2009 02:08 PM
loginview control displays network username instead of (web) username Shailesh Patel ASP .Net Web Controls 0 11-08-2006 08:19 PM
username and password validation Eugene Anthony ASP General 10 06-19-2006 06:01 PM
Change the username found in "C:\Documents and Settings\Username" The Reluctant Robot Named Jude Computer Support 1 05-05-2004 07:11 AM



Advertisments