Link to home
Avatar of PNRT
PNRT

asked on

MS SQL Security

Hi Experts
I have been doing some work recently in VB.Net about storing SQL passwords locally
I'm wondering as a matter of interest, where and how does MSSQL store its own sa password
on the server?
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

SQL Server stores the password user in sys.logins table in master database. You can query the table and check for the password column. It's encrypted, though.
SELECT *
FROM sys.syslogins

Open in new window

SQL Server stores the password user in sys.logins table in master database. You can query the table and check for the password column. It's encrypted, though.
SELECT*
FROM sys.syslogins

Open in new window

Avatar of PNRT
PNRT

ASKER

Thanks Victor, what encryption is used?
ASKER CERTIFIED SOLUTION
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of PNRT

ASKER

Many thanks for the fast replies