Solved

aspnet membership turn off password salt and change password

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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 …
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

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