Defensive Design Flashcards

1
Q

What are the 4 types of defensive design?

A

Input sanitisation, planning for contingencies, anticipating misuse, authentication.

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

What are the 5 types of validation?

A

Format check, length check, present check, type check, range check.

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

What is verification?

A

Checks accuracy of data by comparing it to an original source.

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

What is validation?

A

Checking data input meets specific criteria, e.g. length, before it is processed.

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

What is input sanitisation?

A

Removing any white space and turning the format into the one the program is expecting so no error message occurs.

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

What is length check?

A

Where the length of data is checked to make sure it’s valid. E.g. a postcode.

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

What is format check?

A

To check data is in the correct predefined format. E.g. dd/mm/yyyy .

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

What is type check?

A

Check that makes sure data is correct data type. E.g. integer, real, Boolean or string.

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

What is range check?

A

Check that makes sure data is within a specific range required. E.g. menu options 1 to 3.

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

What is presence check?

A

Check that makes sure all data has been entered. E.g. pressing enter before inputting, checks all fields are entered.

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

What are the 2 types of verification?

A

Double entry (entered twice and checked), proofreading )(data matches original document).

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