?
Solved

aspnet membership turn off password salt and change password

Posted on 2014-12-19
3
Medium Priority
?
384 Views
Last Modified: 2014-12-19
is there a way to manually edit a DB and turn off password and store as plain text?

I need to do it to a dev DB and just get access quickly?
i remember seeing something once about changing password salt to -1?
0
Comment
Question by:websss
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
Camillia earned 2000 total points
ID: 40510347
You need to have passwordFormat="Clear"

<membership defaultProvider="SqlProvider" >
    <providers>
      <clear />
      <add 
        name="SqlProvider" 
       .....
        requiresUniqueEmail="true"
        passwordFormat="Clear" />
    </providers>
  </membership>

Open in new window


But even for development i would use encrypted or hash passwords.
0
 

Author Comment

by:websss
ID: 40510426
Actually figured it out.
I needed to set passwordformat to 1 on record in question,  and salt to - 1
That enables me to login with a clear password
0
 

Author Closing Comment

by:websss
ID: 40510427
Points for trying
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month13 days, 22 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question