Chapter Twelve · Part 3: The Bigger World

Staying Safe

Every part of the picture so far — your machine, your files, the websites you open — is also something an attacker might want. This chapter covers the few basics that protect almost everyone: how logging in really works, what the browser's padlock is doing, the handful of tricks attackers actually use, and the habits that block most of them.

4 topics

You've now seen the whole stack: the machine you turn on, the operating system that runs it, the code inside your apps, the network that carries your request to example.com, and the servers that answer. Security isn't a separate topic bolted onto that picture — it's the same picture, asking one new question: who else might be trying to get in, and how do you keep them out?

The reassuring part is that staying safe isn't about being an expert. A small number of basics block the large majority of real attacks, and they build on each other like layers. This chapter walks up those layers, from the login you do every day to the everyday habits that tie it all together.

Staying safe is a few layers stacked on each other — start at the foundation and build up
Safe habits
pause before clicking, update when prompted, verify before you trust
Recognizing threats
spotting the few tricks attackers actually use — mostly aimed at people, not machines
Encryption
scrambling your data so only the right party can read it — the browser padlock
Accounts and passwords
proving who you are when you log in — the front door of all security

Topics in This Chapter