Database Security Flashcards

(24 cards)

1
Q

Define database security

A

The mechanisms that protect the database against intentional or accidental threats

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are threats a DB faces

A
  • Unauthorised users
  • Authorised users
  • Programmers
  • DBA
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define confidentiality in databases

A

Confidentiality: The protection of data from unauthorised disclosure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define integrity in databases

A

Integrity: The requirement that information is protected from improper modification

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define availability in databases

A

Availability: the data is there when we need it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define authorisation

A

the granting of a right or privilege that enables a subject to have legitimate access to a system or a system’s object (table, view, trigger)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define authentication

A

checking you are who you say you are

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the two types of access control techniques

A

Discretional access control
Mandatory access control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain discretional access control

A

the owner of the object specifies which subjects can access the object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain mandatory access control

A

the system specifies which subjects can access the object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a database object assigned in MAC

A

a security class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is each subject assigned in MAC

A

a clearance for a security class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What components does the Bell-LaPadula model contain

A

Class(O): the classification of an object O (relation, tuple, column, view, operation)
Class(S): the clearance of a subject S (user, account, program)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the rules of Bell-LaPadula

A

“no read-up” a subject can read an object only if class(S) >= class(O)

“no write-down” a subject can write to an object only if class(S) <= class(O). This is to stop high-level users from leaking secrets into low-level files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what is integrity in Databases

A

when contrasts are applied data to make sure it can’t be misleading, invalid or incorrect results

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Define encryption

A

encoding data so that it is unreadable if without the decryption key

17
Q

What areas should we target for encryption

A

disk
database
network traffic

18
Q

What is an audit in DB

A

keep track of all operations from each user through each login session

the audit train (or system log) itself must be secure

19
Q

What is Redundant array of independent disks

A

A data storage technique that combines multiple physical disk drive components into one logical unit

20
Q

What does RAID do

A

increase reliability - parity (or error checking)
increase performance - striping
improve availability - mirroring

21
Q

What is data striping

A

the data is segmented into equal size partitions which are transparently distribute across multiple disks

22
Q

What is data mirroring

A

a data storage technique where data is duplicated across multiple physical disk drives

23
Q

What is the benefit of data striping

A

improves over I/o performance

24
Q

What is parity scheme

A

each byte may have a parity bit associated with it that records where the number of 1s is odd or even (added to the end of data)