Security

Valuable SQL Server Security tips, tutorials, how-to’s, scripts, and more for SQL Server DBAs.

SQL Server separation of duties

In many organizations there is a need to segment what DBAs can do in certain environments. By default most DBAs are made sysadmins, but this gives them full control over the SQL Sever instance. To meet certain regulatory guidelines this is not allowed, b

Different ways to secure the SQL Server SA Login

What are the different ways to secure the SA login? Everyone is aware of the SA login and its administrator rights, so it is very risky if some unwanted users try to use the SA account or hack the SA account. It is also not advisable to use the SA account

Secure and disable the SQL Server SA Account

Ideally your SQL instance would be configured to only allow for Windows Authentication. There may be times when mixed mode authentication is necessary at which point you will should configure a method to rotate the ‘sa’ password on a regular basis. You wa

SQL Server nested securable permissions

I know that in SQL Server 2000 and below, you could assign permissions against objects like tables, views, and stored procedures. I'm hearing in SQL Server 2005 and 2008 there's a new security model called securables which allow for nestable permissions.

Nesting Database Roles in SQL Server

I know in SQL Server you can nest user-defined database roles within the database, but is that a good idea? Do they work the same as Windows groups when they nest? What about how they interact with the SQL Server provided fixed-database roles? In this ti