• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 407
  • Last Modified:

aspnet membership turn off password salt and change password

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
websss
Asked:
websss
  • 2
1 Solution
 
CamilliaCommented:
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
 
websssAuthor Commented:
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
 
websssAuthor Commented:
Points for trying
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now