Database Security Flashcards
What are the two major security problems in Databases?
The two major problems are Integrity and secrecy.
What is a query?
A command to interact with the database, the retrieves, modifies, adds, or deletes fields and records in the database.
What are the advantages of a database?
Shared access
minimal redundancy, users don’t need to collect their own data
data consistency, change to data affects all users of that data
data integrity, values are protected against accidental or malicious change
Controlled Access, only authorized users can view or modify.
What is auditabilty?
Ability to track all reads and writes. It is desirable to do this down to the element level.
Access control
To limit the accessability of specific data.
Dbms User Authentication?
A dbms might require a user to pass both a password and a time-of-day checks.
What is availability
The database is an existential tool and must be available and not busy serving others.
What is a two phase update
Intent and commit.
How does a database maintain redundancy and internal consistency?
Additional information ranging from a few checkbits to shadow copies.,
Shadow fields
Provide redundacny and back up, entire attributes can be duplicated, requiring storage space.
What is a recovery method for DBMS.
In the event of failure the databsase is reloaded from a backup and all changes are applied from the audit/transaction log.
How does the database handle concurrency.
The DBMS locks a record until a write is completed.
What is a monitor responsible for?
A monitor is responsible for structural integrity.
What is a state constraint?
State constraints describe the condition of the entire database, at no time should these values violate these constraints.
What is a transition constraint?
They describe the state the database must be in before changes can be applied.