Week 5 Flashcards
Database security involves measures to avoid?
- Theft and fraud
- loss of confidentiality
- loss of privacy
- loss of integrity
- loss of availability
What is Threat?
Threat is any situation or event, whether intentional or unintentional, that will adversely affect a system and consequently an organization.
2 jenis approach untuk access controls dalam DBMS?
- DAC (Discretionary Access Control)
Each user is given appropriate access rights or privileges on specific database objects through the GRANT and REVOKE commands. GRANT command gives privileges to users and REVOKE command takes away privileges. - MAC (Mandatory Access Control)
This approach, each database object is assigned a SECURITY CLASS and each user is assigned a CLEARANCE for a security class, and RULES are imposed on reading and writing of database objects by users.
What is View?
A view is the dynamic result of one or more relational operations operating on the base relations to produce another relation.
What is Backup?
The process of periodically copying of the database and log file (and possibly programs) to offline storage media.
What is Journaling?
The process of keeping and maintaining a log file ( or journal) of all changes made to the database to enable recovery to be undertaken effectively in the event of a failure.
What is Integrity?
Prevents data from becoming invalid, and hence giving misleading or incorrect results.
What is Encryption?
The encoding of the data by a special algorithm that renders the data unreadable by any program without the decryption key.
RAID (Redundant Array of Independent Disks)
RAID works on having a large disk array comprising an arrangement of several independent disks that are organized to improve reliability and at the same time increase performance.
Levels: RAID 0 Nonredundant RAID 1 Mirrored RAID 0+1 Nonredundant and Mirrored RAID 2 Memory-Style Error-Correcting Codes RAID 3 Bit-Interleaved Parity RAID 4 Block-Interleaved Parity RAID 5 Block-Interleaved Distributed Parity RAID 6 P+Q Redundancy
What is Relation Schema?
relation schema is named relation defined by a set of attribute and domain name pairs
Relational database schema?
set of relation schemas, each with a distinct name.
5 relational keys?
- superkey
an attribute that uniquely identifies a tuple within a relation - candidate key
superkey such that no proper subset is a superkey within the relation. - primary key
candidate key selected to identify tuples uniquely within relation. - alternate key
candidate key that are not selected to be primary key - foreign key
attribute within one relation that matches candidate key of some relation
4 integrity constraints?
- Null
- Entity integrity
- referential integrity
- general constraint
6 jenis privileges dalam DAC (Discretionary Access Control)?
- SELECT
- INSERT
- UPDATE
- DELETE
- REFERENCES
- USAGE