C.W.K.
Stream
Lesson 05 of 06 · published

Confidentiality, Integrity, Availability (CIA Triad)

~15 min · cia, tradeoffs, auditability

Level 0Greenhorn
0 XP0/53 lessons0/14 achievements
0/100 XP to next level100 XP to go0% complete

The classic security triad. Most solo devs default-care about C ("don't leak"), occasionally think about A ("don't crash"), and almost never explicitly think about I ("nobody silently changed my data"). Naming all three keeps your reasoning honest.

LetterPropertySolo-dev failureDefense
ConfidentialityOnly authorized eyes see dataOpen admin; logs in /static; .env in repoAuth, HTTPS, file permissions, secret managers
IntegrityData isn't tampered withHTTP (no S) + coffee shop = injected JS; SQL injectionHTTPS, parameterized queries, signed cookies, hashes
AvailabilityYou can use the service when you need itOpen Ollama port = anyone can DOS your VRAMRate limits, queue caps, backups, monitoring

The trade-offs are real

You can't max all three for free; each costs the others to some extent.

  • More C costs A — Stricter auth means more friction, occasional lockouts (you locking yourself out is an availability failure).
  • More A costs C — "Always logged in everywhere" maximizes uptime perception but is a confidentiality nightmare on a lost device.
  • More I costs A — Strong audit logging slows writes; integrity checks slow reads.

The hidden letter: Auditability

Some practitioners extend CIA to CIAA — the second A is auditability, the ability to know what happened. For solo work, this is the difference between "I notice my phone is missing" and "I can prove which sessions and IPs were active when." Track 8's admin dashboard is the auditability layer.

External links

Exercise

For each of your apps, write CIA in priority order. Solo journal app? probably C > I > A. Status page? probably A > I > C. Once you've named the priority, audit one decision per app that violates it (e.g., the status page that has stricter auth than the public uptime page warrants).

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.