GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Defensive Design

Avni Bhatt Englisch

Inhalt der Mindmap

Defensive Design

  1. Helps to insure programs function properly

    • When functioning properly they should never break and never produce errors
  2. Programmers try to protect their programs through defensive design.

    • Anticipate how users might misuse their program, then attempt to prevent it from happening.
    • Ensure their code is well-maintained.
    • Reduce the number of errors in the code through testing.
  3. Input Sanitisation

    • removing any unwanted characters before passing data through the program.
      • Programs can use a mixture of input sanitisation and validation to verify that the inputted data has an acceptable format before passing it into the program
  4. Input validation

    • checking if data meets certain criteria before passing it into the program. E.g. checking that an email address contains an @ symbol and has a suitable ending (.com, .co.uk,etc).
      • sanitisation and validation are often done using whitelists and blacklists. Whitelists tend to be more secure, however they can take a long time to set up and can be too restrictive
  5. Whitelist

    • A whitelist is a list of all data that a program should accept - any data that isn't on the whitelist will be rejected.
  6. Blacklist

    • A blacklist is a list of all the data that a program should reject- any data that isn't on the blacklist will be accepted.
  7. Authentication can help protect programs.

    • can confirm identity
    • Passwords need to be changed every 6 weeks
  8. program should be easy to maintain.

Informationen

Beschreibung
Mindmap am Defensive Design, erstellt von Avni Bhatt am 27/06/2019.
Erstellt von
Avni Bhatt
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck