CPSC 4670:Database Security and Auditing


Course Description

Database security has a great impact on the design of today's information systems. This course will provide an overview of database security concepts and techniques and discuss new directions of database security in the context of Internet information management. The topics will cover database application security models, database and data auditing, XML access control, trust management and privacy protection.

Purpose and Objectives:

The expected results from this course are:

-          Master security architecture

-          Master the databases security models

-          Master multilevel secure relational model

-          Master auditing in relational databases

-         Master XML access control and enforcement.


Sam Afyouni, Database Security and Auditing: Protecting Data Integrity and Accessibility. Thomson. ISBN: 0-619-21559-3, 2005.

Marshall D. Abrams, Sushil Jajodia, and Harold J. Podell, eds. Information Security: An Integrated Collection of Essays, IEEE Computer Society Press, 1995.
Available on line at

We will also draw material from the literature in the relevant journals and conferences (e.g., SIGMOD, VLDB, IEEE S&P, CCS).  Students will read and present the selected papers and to complete a term project. Matt Bishop. Computer Security: Art and Science. Addison Wesley Professional, 2002, ISBN: 0201440997

Lecture Notes 

Week 1: Course Description and Security Architecture, Database Basics, SQL

Week 2: Operating System Security Fundamentals

Week 3: Administration of Users, Profiles, password policies, privileges, and roles

Week 4: Database Application Security Models

Week 5: Multilevel Secure Relational Modelpolyinstantiation

Week 6: Access Control Models: MAC, DAC, RBAC

Week 7: Stored Procedures and Functions: PL/SQL I, PL/SQL II

Week 8: Virtual Private Databases, SQL Injection

Week 9: Database Vault

Week 10:Auditing Database Activities

Week 11: XML Access Control

Week 12: Watermarking in Relational Database

Week 13: Regulations, Compliance and Privacy Protection

Week 14: Selected advanced topics such as Trust Management, Digital Right Management


Project #1 Database Installation and Basics,

Project #2 Implement Discretionary Access Control

Project #3 Implement Mandatory Access Control Using Oracle Label Security

Project #4 PL/SQL

Project #5 Virtual Private Databases

Project #6 Auditing

Project #7 SQL Injection

Oracle by Example Series: Oracle Database 10g Tutorial:

SQL Server Best Practice Analyzer Tool includes and packages a set of best practices, known vulnerabilities and items that map well to compliance requirements. It is free.

Recommended Book

Implementing Database Security and Auditing By Ron Ben-Natan

Free preview version is available from Google online.

This book is about database security and auditing. You will learn many methods and techniques that will be helpful in securing, monitoring and auditing database environments. It covers diverse topics that include all aspects of database security and auditing - including network security for databases, authentication and authorization issues, links and replication, database Trojans, etc.

 Oracle 10g Programming: A Primer by Rajshekhar Sunderraman, Addison Wesley  

Resources and Further Reading

Oracle: Pete Finigan is one of the world's foremost Oracle security experts, and he posts a lot of useful information on his website.

o Pete Finigan's Oracle security blog. Many good articles on Oracle and some on Oracle security published by Don Burleson A good resource for security includes an excellent paper "Exploiting and Protecting Oracle". Application security Inc.'s whitepaper page, including a white paper titled "Protecting Oracle databases". Miscellaneous articles, resources and tips on Oracle.

Oracle Security Handbook by Marlene Theriault and Aaron Newman

Effective Oracle Database 10g Security by Design by David Knox

Oracle Privacy Security Auditing by Arup Nanda and Donald Burleson

SQL Server Web site dedicated to SQL server security SQL server magazine's security page Overview of SQL Server security model and best practices. Application security Inc.'s white paper page, including a white paper titled "Hunting Flaws in Microsoft SQL Server White Paper"

SQL Server Security by Chip Andrews, David Litchfield, Bill Grindlay, and Next Generation Security Software.

DB2 Database Journal for DB2 DB2 Magazine Presentations on various topics, including "Hacker-proofing DB2"

Sybase: Sybase user group

MySQL papers on various topics, including MySQL security (e.g., "Hacker-proofing MySQL"). Security section from MySQL manual Presentations on various topics including "Hacker-proofing MySQL".

Hardening Linux

Hardening Linux by John Terpstra, et al

                      Hardening Linux by James Turnbull

Hardening Windows

Hardening Windows Systems by Roberta Bragg

                      Hardening Windows by Jonathan Hasell

Hardening Solaris

Hardening AIX

A great IBM whitepaper is available at: Strengthening AIX Security: A System-Hardening Approach

Hardening HP/UX

HP-UX 11 Operating System Hardening Guideline Document:



More IA Study Materials

IA Academic Links