Authentication & Contingencies
Computer Science: OCR GCSE, topic 2.3.3
Authentication and Contingencies
Two very important elements of defensive design are authentication and contingency planning.

Authentication
- Authentication is the process of checking that a person or system is authorised to use a system.
- The most common form of authentication is to require users to enter a username and password.
- Once a user has authenticated themselves, they should be able to see data relevant to themselves and no one else.

Contingency planning
- Predicting all possible cases of misuse is impossible.
- However, there are ways to help reduce errors, for example:
- Providing helpful prompt messages.
- Providing error-recovery routes (e.g. an undo feature).
- Preventing access from certain parts of the system.
- Using exception handling.
Test yourself on Authentication & Contingencies
The most common form of authentication requires what data from the user?
Once a user is authenticated, what should they see?
What is a common error-recovery route used to reduce system errors?
Select the true statement about reducing errors in a system.
A spreadsheet program shows an error message instead of crashing when a user divides a number by zero. Which contingency technique does this show?