Chap05Database Administration and Security
Chap05Database Administration and Security
Chapter 5 - Objectives
The distinction between data administration and database administration. The purpose and tasks associated with data administration and database administration. The scope of database security.
Pearson Education Limited, 2004 2
Chapter 5 - Objectives
Why database security is a serious concern for an organization. The type of threats that can affect a database system. How to protect a computer system using computer-based controls.
Data Administrator (DA) and Database Administrator (DBA) are responsible for managing and controlling activities associated with corporate data and corporate database, respectively. DA is more concerned with early stages of lifecycle and DBA is more Pearson Education Limited, concerned withlater stages. 2004
Data administration
database planning development and maintenance of standards, policies, and procedures conceptual and logical database design
Database administration
physical database design and implementation setting security and integrity controls monitoring system performance reorganizing the database
Pearson Education Limited, 2004 7
Database security
Mechanisms that protect the database against intentional or accidental threats. Not only apply to the data held in a database. Breaches of security may affect other parts of the system, which may in turn affect the database.
Pearson Education Limited, 2004 10
Database security
Includes hardware, software, people, and data. Growing importance of security is the increasing amounts of crucial corporate data being stored on computer.
11
Database security
Outcomes to avoid:
theft and fraud loss of confidentiality (secrecy) loss of privacy loss of integrity loss of availability
12
Database security
Threat
Any situation or event, whether intentional or unintentional, that may adversely affect a system and consequently the organization.
13
14
15
16
authorization views backup and recovery integrity encryption Redundant array of independent disks (RAID)
Pearson Education Limited, 2004 17
Authorization
The granting of a right or privilege that enables a subject to have legitimate access to a database system or a database systems object.
A mechanism that determines whether a user is, who he or she claims to be.
Pearson Education Limited, 2004 18
Authentication
View
A view is a virtual table that does not necessarily exist in the database but can be produced upon request by a particular user, at the time of request.
19
Backup
Process of periodically taking a copy of the database and log file (and possibly programs) onto offline storage media.
Process of keeping and maintaining a log file (or journal) of all changes made to database to enable recovery to be undertaken effectively in the event of Pearson Education Limited, 2004 failure.
Journaling
20
Integrity
Prevents data from becoming invalid, and hence giving misleading or incorrect results.
Encoding the data by a special algorithm that renders the data unreadable by any program without the decryption key.
Pearson Education Limited, 2004 21
Encryption
Hardware that the DBMS runs on must be fault-tolerant, meaning that the DBMS should continue to operate even if one of the hardware components fails. Suggests having redundant components that can be seamlessly integrated into the working system Pearson are Education Limited, whenever there failures. 2004 22
The main hardware components that should be fault-tolerant include disk drives, disk controllers, CPU, power supplies, and cooling fans. Disk drives are the most vulnerable components with the shortest times between failure of any of the hardware components.
Pearson Education Limited, 2004 23
One solution is to provide a large disk array comprising an arrangement of several independent disks that are organized to improve reliability and at the same time increase performance.
24