membership pofile password related

Last post 04-02-2007 3:23 AM by Zhao Ji Ma - MSFT. 2 replies.

Sort Posts:

  • membership pofile password related

    03-30-2007, 3:32 PM

    Hi to everyone;

       Hey guys its very simple and few lines question.. please answer....

       I am using aspnetdb to manage roles and webpart application. in my web.config  i am using

         passwordFormat

    ="Hashed"

      and I am sure that I can not change it to "clear" or "Encrypted."...

     (1)   my question is..... Is there any way to retrive the password in plain text and send it to user,

       (2) can i use something like Passwordrecovery control of asp.net 2.0 ????

        (3) or can I use getpassword() or getpassword("PasswordAnswer") function of memebership... if user enters the correct PasswordAnswer?

     (4) Is that true that if    passwordFormat is set to "Hashed", and bychance user forgets the password... there is no way to get it back either by Admin or user???

     

    Thanks in Advance,

    please reply

    work smarter, Not Harder.

    Bhavesh Patel
  • Re: membership pofile password related

    03-30-2007, 7:27 PM
    Answer
    • Loading...
    • James_2JS
    • Joined on 02-13-2006, 3:21 PM
    • Posts 335

    Sorry, but a hashed password is not reversible.

    I'm not sure, but I think the password recovery control will allocate a random password and email it to the user if you are hashing the password.

  • Re: membership pofile password related

    04-02-2007, 3:23 AM
    Answer
    James_2JS:

    Sorry, but a hashed password is not reversible.

    I'm not sure, but I think the password recovery control will allocate a random password and email it to the user if you are hashing the password.

    Yes, hashed password is not reversible, and it cannot be retrieved. However you can reset user password.

    The PasswordRecovery control in ASP.NET 2.0 provides the functionality to retrieve or reset a user's password based on their user name. The information is then emailed to the user. The control does not support displaying the password to the user in their web browser. And you can tell the control whether to recovery or reset password. I would recommend using this control to manage user password.

    http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.passwordrecovery.aspx

     

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (3 items)
Microsoft Communities
Page view counter