Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - username & password validation

 
Thread Tools Search this Thread
Old 08-06-2006, 11:03 PM   #1
Default username & password validation


are there special requirements for membership user and password fields other
than length restrictiosns?



Thanks!


=?Utf-8?B?RGFiYmxlcg==?=
  Reply With Quote
Old 08-06-2006, 11:07 PM   #2
Juan T. Llibre
 
Posts: n/a
Default Re: username & password validation
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!





Juan T. Llibre
  Reply With Quote
Old 08-06-2006, 11:09 PM   #3
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
 
Posts: n/a
Default RE: username & password validation
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!



=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Reset / Recover Forgotten Windows NT / 2000 / XP / 2003 Administrator Password wskaihd Software 2 11-17-2009 02:01 AM
Username & Password! ravikhanna MCITP 1 03-27-2009 06:16 PM
Ctive Directory Password Policy Rishi Software 1 11-23-2006 04:49 AM
Re: XP password question. PlazticSoul A+ Certification 0 06-02-2004 12:32 AM
username and password BiC A+ Certification 19 11-08-2003 07:29 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46