SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Finding / Amending Password using SQL Server Manag
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

peppapig
Starting Member

1 Posts

Posted - 06/10/2014 :  04:13:28  Show Profile  Reply with Quote
Hi there, have been given a website to take over and all up and running fine. It is build using ASP.net and the MS SQL database is all set up.

They have a CMS section for the website and you get to a login screen but the user can't remember their password. I looked at the Tables using MS SQL Server Management Studio but they are not where I thought they would be.

There is a table called 'dbo.aspnet_Users' which when I view shows me the UserName and LoweredUserName but no reference to password so I presume it is linked to another Table?

Found one called Membership which has Password and PasswordSalt (whatever that is?) but then no reference to the UserName although both have UserID which I presume links the two together.

Problem is that the passwords are all encrypted in there so can't tell the current one. Changed them to easy to remember password but still not able to login to the CMS facility.

The login form doesn't have any functionality to request new / forgot password so stumped at this point.

Any tips most welcome?

tkizer
Almighty SQL Goddess

USA
36617 Posts

Posted - 06/10/2014 :  11:49:23  Show Profile  Visit tkizer's Homepage  Reply with Quote
If the passwords are encrypted, then you are out of luck from a SQL Server standpoint. You'll need to dig through the application code.

You can run a trace to determine which tables are involved, but still that won't help much since you can't decrypt them. Your application will need to handle this functionality.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000