Presentation is loading. Please wait.

Presentation is loading. Please wait.

[Limited Access] Content:  Purpose  Mechanism  Difficulty  Proposal Database Security & Audit Proposal.

Similar presentations


Presentation on theme: "[Limited Access] Content:  Purpose  Mechanism  Difficulty  Proposal Database Security & Audit Proposal."— Presentation transcript:

1 [Limited Access] Content:  Purpose  Mechanism  Difficulty  Proposal Database Security & Audit Proposal

2 [Limited Access] 1. Purpose >Insure data security and not be modified arbitrarily >All operations to Sensitivity data by those who have permissions should be audited.(Contain read/write/…)

3 [Limited Access] 2. Mechanism >Database Account & Privileges Control >Database Operation Audit >Data files and Backup files security >Data encryption >Sensitivity Data separation

4 [Limited Access] Database Account & Privileges Control >Prod/UAT Server Server Type Account Account Owner Future Account Owner Owner PrivilegesNote Pord/UAT Server DBA ( Domain Account ) Xiaodan Tang /Hongtan Hongtan/Jian Xu dbcreator 、 SQLAgentOperatorRole 、 db_owner of all DB except "Aud"/"Security" DBA has no privileges to read or create uses in "Aud"/"Security" have more privileges than themselves. SecurityAccout Jiang Jingmin SecurityAdmin Alter any login, Db_datawriter in Security Management Users 、 Manage table in Security. Sqladmin backup accountJianxu ISO Departmentsysadmin An account for backup, in the situation of "sqladmin" forget his password. sqladminJingmin Jiang 非 IT 的人 sysadmin sqlamin have all privileges , For grant Privileges to DBA in some situations. Aud_userXiaodan Tang Audit work groupdb_owner of Security/Aud User AccountApp Team According to the application form and approval Email For Prod Server, the biggest privileges for app team is db_datareader, db_datawriter for some databases except SVP's approval. 2. Mechanism

5 [Limited Access] >Dev Server Server TypeAccountAccount Owner Future Account Owner Owner PrivilegesNote Dev Server DBA ( Domain Account ) Xiaodan Tang /HongtanHongtan/JianXu dbcreator 、 alter any login 、 SQLAgentOperatorRole 、 db_owner of all DB except "Aud"/"Security" DBA has no privileges to read or create uses in "Aud" /"Security" have more privileges than themselves. SecurityAccout Hongtan/JianXu SecurityAdmin Alter any login, Db_datawriter in Security Management Users 、 Manage table in Security. Sqladmin backup accountJianxu sysadmin An account for backup, in the situation of "sqladmin" forget his password. sqladminJingmin Jiang sysadmin sqlamin have all privileges , For grant Privileges to DBA in some situations. Aud_userXiaodan TangProject Managerdb_owner of Security/Aud User AccountApp Team According to the application form and Email For DEV Server, the biggest privileges for app team is db_owner for some databases. Database Account & Privileges Control 2. Mechanism

6 [Limited Access] Database Audit Method 2. Mechanism

7 [Limited Access] Database Audit Content Database Audit Content Global TracePrivileges Trace Server start/stop Schema Access Login Failed Filter: User who have sysadmin privileges User in security.dbo.user_data and audit is true User in security.dbo.firecalls And we can just audit specific database listed in Security.dbo.audit_db Object created/Deleted Database scope GDR Event Schema scope GDR Event ADD/GDR/change login event ADD/GDR/change db user/role event Statement permission event Backup/Restore event Note: Global trace is used for all logins and privileges trace is for all users who have sysadmin privileges and specify user in user_data or specify database. Change Audit event Object derived Permissions Server scope GDR event 2. Mechanism

8 [Limited Access] How to Query Audit Result How to Query Audit Result  Store Procedure: sp_audit_result: Query the audit result in Aud database. [The day before that day ] sp_audit_result_trc: Query the result from trace file. [That day]  User : aud_user  Usage: exec sp_audit_result ‘username’, ‘time’ ----or with no parameter exec sp_audit_result_trc 'username‘----or with no parameter 2. Mechanism

9 [Limited Access] 2. Mechanism >Data files and Backup files security Infrastructure: Keep the data files directory inaccessible by not related people. Move the backup files to security place at specific time after database backup taken. Audit access or other operations of the users who have permissions to backup/data files. DMS: Encrypt the backup file when backup the database contain Sensitivity data >Data encryption App Team(Optional): Encrypt the sensitivity data columns/Use Keys when design database.

10 [Limited Access] >Sensitivity Data separation >??????????????????Tan Hong ~~`

11 [Limited Access] 3. Difficulty >The sysadmin have all permissions, who should hold Sysadmin? If the sysadmin delete the audit database ? >Do Infrastructure monitor the copy operation? If some guys copy the backup file out and …

12 [Limited Access] 4. Proposal


Download ppt "[Limited Access] Content:  Purpose  Mechanism  Difficulty  Proposal Database Security & Audit Proposal."

Similar presentations


Ads by Google