Auditing
SQL Server comes with several options that can be used for the auditing of login events and many more. The first audit option you can see directly in the server properties/security item that you can find with SQL Server Management Studio. There, you can choose what sort of login audit is performed. By default, SQL Server comes with the Failed logins only option selected, which may not be enough for many environments where, due to business or security requirements, you have to capture all login attempts.
This audit stores all the information to the SQL Server log, which you can review via Management Studio or, if needed, via any text editor, as the log is a plain text file. On a highly loaded system, this log can generate an enormous ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access