Mindmap
Defensive design
Inhalt der Mindmap
Defensive design
Input sanitisation
- Removes any unwanted character before passing data through the program.
- Often done using a whitelist or blacklist
Validation
- Checks if the data meets a certain criteria before passing into the program.
- Example: checking if an email address contains an @ symbol.
- Often done using a whitelist or blacklist
- A whitelist is a list of data that the program should accept
- A blacklist is a list of all of the data the program should reject.
- Checks if the data meets a certain criteria before passing into the program.
Verification
- Checks whether the data entered is correct
- Example: makes you write your password twice.
- Checks whether the data entered is correct
Authentication
- Only allows authorised users to gain access
- Example: usernames and passwords, user access levels
- Only allows authorised users to gain access
Maintainable code
- Allows other programmers to understand the code
- Example: comments, indentation, meaningful variable names
- Allows other programmers to understand the code
Informationen
- Beschreibung
- ks3 computing Mindmap am Defensive design, erstellt von Itsaso Forbes am 05/12/2019.
- Erstellt von
- Itsaso Forbes
- Aufrufe
- 0
- Bewertung