Solved

aspnet membership turn off password salt and change password

Posted on 2014-12-19
3
324 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 500 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now