Professional Documents
Culture Documents
Presentation - Phân Quyền SQL server 2008
Presentation - Phân Quyền SQL server 2008
1. 2. 3. 4. 5.
Gii thiu Qun l vic ng nhp Qun l ngi dng Qun l phn quyn Demo
1. Gii thiu
Bo mt trong SQL server gm ba lp:
Login security: Kim sot ai c th log vo SQl server.
Database access security : kim sot ai c th ng nhp vo Database ca SQL server. Permission security: Kim sot mt user c th thc hin thao tc g trn Database.
1. Gii thiu
Gn user l thnh vin ca Database Dng thuc tnh ca Database role trong giao din. Dng thuc tnh ca Login account trong giao din.
Cc c ch cp quyn:
Dng login account c to sn bi h thng v c gn role default nh: sa c gn sysadmin fixed server role.
Fixed role
User-defined Database role Hoc c th phn bit:
Role mc server
Role mc Database
to role.
o Dng T-SQL to role: Bc 1: nh ngha mt role (Mt user_defined database role
INSERT EXECUTE
UPDATE
DUMP TABLE
table
Copyright Group 12 - K09406
Granting Statement Permission : GRANT { ALL | statement [ ,...n ] } TO user_name [,...n ] Granting Object Permission : GRANT { { ALL | permission [ ,...n ] } [ (column_name [ ,...n ] ) ] ON { table | view | stored_procedure |extended_procedure | user_defined_function }} TO user_name [ ,...n ]
5. Demo
&
A
Product of Group 12 - K09406