Grade 8 Computer Science · Security, privacy and responsibility

What “secure” actually means

Three separate properties confused under one word.

A perfect lock, a useless system

You can protect information so that nobody can ever read it: simply give nobody access. It is completely secure, and nobody can use it either. So what does the word “secure” actually mean, and why can the question “is this secure” not be answered?

The word “secure” sounds as though it describes one property, and in fact it covers three quite different requirements — which sometimes even contradict each other. One cannot speak about security without separating them.

Each breaks in a different way and is protected by different means.
The propertyWhen it breaks
ConfidentialityInformation leaks to who should not
IntegrityInformation is changed or forged
AvailabilityWhoever should get through cannot

There is no “secure”, there is “protected from whom”

This is the point that turns the subject from slogans into thinking. Every protection is from someone particular with particular capabilities: a lock on a door protects from whoever passes in the street and does not protect from whoever has a key. The same in software — a protection sufficient against a curious user is not sufficient against one who invests months. So the question “is this secure” is not a question that can be answered, and the one that can is: from whom are we protecting, and what happens if they succeed.

Example 1 — why forgery is worse than a leak

  1. Leaked information is still true.
  2. Forged information looks true and is not.
  3. Everyone relying on it is misled.
  4. And sometimes no one knows it happened.

Example 2 — why the properties compete

  1. Access is limited to keep confidentiality.
  2. Every limit also hinders whoever should get through.
  3. At the extreme, no one gets through.
  4. The confidentiality is perfect and the system useless.
A scenario: The class’s practice quiz scores — at each step a course of action is chosen and its consequence shown; 7 possible situations.