Professional Documents
Culture Documents
Module 3
Authorizing Users to Access
Resources
Module Overview
• Windows Principals:
• Recall that principals are security identities that can access
securables and perform actions.
• Windows group
• Domain user account
• Local user account
• Database Principals:
• User
• Database role
• Application role
What Are Securables?
USE MarketDev;
Database
GO
Table1 owned
by User2
View1 owned
by User2
User1
granted
Table2 owned
permission to
by User3
both views
View2 owned
by User2
Demonstration: Authorizing Users to Execute
Code
• Built-in schemas:
• dbo and guest
• sys and INFORMATION_SCHEMA
Object Name Resolution
USE MarketDev;
GO
Logon Information
Virtual machine: 20764C-MIA-SQL
User name: ADVENTUREWORKS\Student
Password: Pa55w.rd