username & password validation

Discussion in 'ASP .Net' started by =?Utf-8?B?RGFiYmxlcg==?=, Aug 6, 2006.

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



    Thanks!
     
    =?Utf-8?B?RGFiYmxlcg==?=, Aug 6, 2006
    #1
    1. Advertising

  2. 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:...
    > are there special requirements for membership user and password fields other
    > than length restrictiosns?
    > Thanks!
     
    Juan T. Llibre, Aug 6, 2006
    #2
    1. Advertising

  3. 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/library/system.web.security.membership_properties.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=?=, Aug 6, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. john brown
    Replies:
    2
    Views:
    934
    Christopher Shatto
    Aug 3, 2004
  2. AAaron123
    Replies:
    2
    Views:
    2,265
    AAaron123
    Jan 16, 2009
  3. AAaron123
    Replies:
    1
    Views:
    1,370
    Oriane
    Jan 16, 2009
  4. Shailesh Patel
    Replies:
    0
    Views:
    477
    Shailesh Patel
    Nov 8, 2006
  5. Eugene Anthony

    username and password validation

    Eugene Anthony, Jun 16, 2006, in forum: ASP General
    Replies:
    10
    Views:
    285
    Dave Anderson
    Jun 19, 2006
Loading...

Share This Page