Password Recovery without using email.

Last post 10-22-2009 11:11 PM by chetan.sarode. 17 replies.

Sort Posts:

  • Password Recovery without using email.

    07-27-2007, 4:36 AM
    • Member
      point Member
    • novusvita
    • Member since 07-25-2007, 6:00 AM
    • Posts 7

    Hi,

     Is it possible to use the PasswordRecovery control to retrieve the password, using the Question and Answer,
    then displaying the password on screen. I do not want to send the password to email.

     Any alternative method besides using PasswordRecovery control is appreciated.

    Thank you for your help.

  • Re: Password Recovery without using email.

    07-27-2007, 5:48 AM
    • Star
      8,650 point Star
    • DavidKiff
    • Member since 12-07-2006, 11:07 PM
    • Hertfordshire, UK
    • Posts 1,733

    If you dont send an email, then you are relying on your user to remember their secret question /pass phase or what ever your going to use.  If they have forgotten their password they will probably forget that as well!?

  • Re: Password Recovery without using email.

    07-27-2007, 6:00 AM
    • Member
      point Member
    • novusvita
    • Member since 07-25-2007, 6:00 AM
    • Posts 7

    I am intending to run this inside an intranet. The users have limited access to resources. They cannot access the internet. There is no email service set up too as we do not want them to waste time and resources. This application is only for recording and tracking purposes. They do work on computer terminals.

    Is it then possible perhaps for the admin to view the password(then I'll probably not encrypt the password in the DB?). Then allow the user to relogin(by telling the password), thereafter allowing him to change the pass using the ChangePassword control.

  • Re: Password Recovery without using email.

    07-27-2007, 6:07 AM
    • Star
      8,650 point Star
    • DavidKiff
    • Member since 12-07-2006, 11:07 PM
    • Hertfordshire, UK
    • Posts 1,733

    You could hash your passwords, then allow an admin to write over the old (forgotten) password with a new password?

  • Re: Password Recovery without using email.

    07-31-2007, 11:40 PM

    You have to set in web.config

    <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed"  />

    set the passwordFormat according to your need

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Password Recovery without using email.

    07-11-2008, 7:46 PM
    • All-Star
      15,245 point All-Star
    • yasserzaid
    • Member since 09-22-2007, 9:10 PM
    • Egypt
    • Posts 2,582

    Hi

    try this in web.config

    <membership defaultProvider="MyProvider" userIsOnlineTimeWindow="25">
       <providers>
        <add name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="Bag_ConnStr" applicationName="/" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Clear" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
       </providers>
      </membership>

    for more infomation

    http://www.asp.net/Learn/security/tutorial-13-vb.aspx

    Good Luck

    Yasser Zaid
    My Blog [http://yasserzaid.wordpress.com/]
  • Re: Password Recovery without using email.

    07-13-2008, 11:27 PM

    I think you can not display the password on screen

    See the following diagram (takes from asp.net site)

    The RequiresQuestionAndAnswer, EnablePasswordRetrieval, and EnablePasswordReset
        Influence the PasswordRecovery control’s Appearance and Behavior

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Password Recovery without using email.

    07-21-2008, 11:24 PM

    What is the status of your thread

    If any answer helps you, Please mark it as answer so it will help for other people

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Password Recovery without using email.

    07-22-2008, 11:24 PM

    How you are storing the Google password also how u are accesing it.

    Please explain in brief

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Password Recovery without using email.

    07-28-2008, 11:24 PM

    Have you tried my solution, Have you solved your query

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Password Recovery without using email.

    08-25-2008, 12:02 PM
    • Member
      10 point Member
    • 12string
    • Member since 09-17-2007, 5:36 PM
    • Posts 9

    Have you ever experienced the Password Recovery Control sending a blank for the

    password in the email?  I'm working on a system that implements the Membership

    Service and everything works fine except when the user tries to recover their

    password.  The email that is sent to them DOES NOT contain their password, even

    though I can see it stored in the system tables (i.e.,  using Clear).... 

  • Re: Password Recovery without using email.

    08-25-2008, 11:28 PM

    Try this in web.config

    <membership defaultProvider="MyProvider" userIsOnlineTimeWindow="25">
       <providers>
        <add name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="Bag_ConnStr" applicationName="/" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Clear" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
       </providers>
      </membership>

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Password Recovery without using email.

    10-20-2008, 11:31 PM

    Any updates on this

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Password Recovery without using email.

    10-27-2008, 4:51 PM
    • Member
      4 point Member
    • yourbudweiser
    • Member since 08-21-2008, 2:48 PM
    • Posts 2

    Protected Sub PasswordRecovery1_SendingMail(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MailMessageEventArgs) Handles PasswordRecovery1.SendingMail

    e.Cancel = True
    PasswordRecovery1.SuccessText = e.Message.Body

    End Sub

  • Re: Password Recovery without using email.

    10-30-2008, 11:26 PM

    So you mean to say, the mail which sends to user it get cancelled (due to e.Cancel = True) and password is displayed on screen

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
Page 1 of 2 (18 items) 1 2 Next >