
1
6 Database Security
Introduction
Database security issues are often lumped together with data integrity issues, but the two
concepts are really quite distinct. Security refers to the protection of data against unauthorized
disclosure, alteration, or destruction; integrity refers to the accuracy or validity of that data. In
simple terms:
โ Security means protecting the data against unauthorized users.
โ Integrity means protecting the data against authorized users.
In both cases, system needs to be aware of certain constraints that users must not violate; in both
cases those constraints must be specified in some suitable language, and must be maintained in
the system catalog; and in both cases the DBMS must monitor user operations in order to ensure
that the constraints are enforced. The main reason to clearly separate the discussion of the two
topics is that integrity is regarded as absolutely fundamental but security as more of a secondary
issue.
6.1 Database Security
The person responsible for security of the database is usually database administrator (DBA).
The database administrator must consider variety of potential threats to the system. Database
administrators create authorization rules that define who can access what parts of database for
what operations. Enforcement of authorization rules involves authenticating the user and
ensuring that authorization rules are not violated by access requests. DBMS should support
creation and storage of authorization rules and enforcement of authorization rules when users
access a database.
6.1.1 General Considerations in Database Security
There are numerous aspects to the security problem, some of them are:
โ Legal, social, and ethical aspects