Check password answer

Discussion in 'ASP .Net' started by shapper, Jun 30, 2007.

  1. shapper

    shapper Guest

    Hello,

    How can I check, in ASP.NET 2.0 membership, if a given password answer
    given by a user is the same as the one in the user record?

    Thanks,
    Miguel
     
    shapper, Jun 30, 2007
    #1
    1. Advertising

  2. One way is to make the secret question as a profile property (say
    SecretAnswer) and then use Profile.SecretAnswer to the user-given value. The
    password may not be encrypted while storing in the profile database.

    Second option is to use the Membership API (Membership.ValidateUser()).

    "shapper" wrote:

    > Hello,
    >
    > How can I check, in ASP.NET 2.0 membership, if a given password answer
    > given by a user is the same as the one in the user record?
    >
    > Thanks,
    > Miguel
    >
    >
     
    =?Utf-8?B?U2l2YSBN?=, Jun 30, 2007
    #2
    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. shapper

    Password Answer

    shapper, Jun 26, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    824
    Cowboy \(Gregory A. Beamer\)
    Jun 26, 2007
  2. AAaron123
    Replies:
    2
    Views:
    2,320
    AAaron123
    Jan 16, 2009
  3. AAaron123
    Replies:
    1
    Views:
    1,387
    Oriane
    Jan 16, 2009
  4. Replies:
    5
    Views:
    365
    Dominick Baier [DevelopMentor]
    Jan 12, 2006
  5. Learner
    Replies:
    13
    Views:
    334
    darrell heggaton
    Jul 31, 2006
Loading...

Share This Page