SQL Server security spans seven connected areas: authentication and the principals/permissions model that controls access, contained databases for portability, built-in accounts like sa and dbo, data encryption, the catalog views and functions used to audit security state, and tools like SQL Vulnerability Assessment for finding weaknesses.
This guide collects Robert Sheldon’s series on all seven, each with working T-SQL examples, in the order below — start with the overview if you’re new to SQL Server security, or jump to the topic you need.
These guides were originally written and published in 2018/2019.
This document contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved