How are SQL server management studio passwords saved?

5

If, when connecting to a database with sql server management studio and you select "remember password"... where and how is it saved?

I presume it is somehow encrypted using your windows login password?

Alex KeySmith

Posted 2010-09-15T14:19:01.363

Reputation: 674

What version of windows, what version of SQL Studio? – JNK – 2010-09-15T14:23:11.203

Hi JNK, It's XP SP3 and SSMS 2005 – Alex KeySmith – 2010-11-23T14:27:16.217

Answers

2

It probably uses a technology called DPAPI. There's some info about it at http://msdn.microsoft.com/en-us/library/ms995355.aspx. Basically encryption is based on the login password but they keys can also be backed up. In a domain environment, automatic backup is probably enabled - relying on a very secure & trusted domain controller.

eug

Posted 2010-09-15T14:19:01.363

Reputation: 724