Solved

aspnet membership turn off password salt and change password

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Google Directions API to Map URL -C#? 3 38
bound data table problem 2 33
Why do I get the message "Message has been thrown by target of an invocation"? 22 54
linq, c# 8 24
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…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 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