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 15 years ago

Reputation: 674

What version of windows, what version of SQL Studio? – JNK – 15 years ago

Hi JNK, It's XP SP3 and SSMS 2005 – Alex KeySmith – 15 years ago

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 15 years ago

Reputation: 724