Faulty Orc
Faulty Orc

Reputation: 991

Retrieve the database password with admin privileges via code

How can one obtain his/her database password with code while the admin privileges are proved to be sufficient by windows authentication?

Upvotes: 0

Views: 188

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1039378

You can't. Any self-respecting database would never store the passwords in clear text. It would only store a hash of the password and compare the hash of the password you enter to this hash. If you have administrative privileges, you can reset this password to some new value though.

Upvotes: 5

Related Questions