← Teacher guides

Teacher guide: Security and privacy

For Years 9–10: how the operating system manages hardware and access, how names and addresses get data to the right computer, how sign-in and permissions decide who may do what, and how hashes and public keys protect passwords and messages. Then a capture-the-flag finale: find the weaknesses in a school portal and fix them.

Open the student course · How the ideas build

Each lesson works two ways. Students can work through the online tutorial at their own pace (it checks their answers and saves their progress in their browser), or you can teach it to the whole class from the slides, then send students into the tutorial for the Modify and Make steps.

Every lesson guide has plain-language notes, the answers to every check, a solution for every task, and slides and a worksheet for Waypoints Prepare. These guide pages are not linked from student pages, but they are not secret either: keep printed Teacher editions for answers you do not want students to find.

Whole-course cheat sheet: Open to print (every command, grouped by unit: a handout for the final challenge)

How systems are kept safe

The operating system, names and addresses, sign-in and permissions, hashes and keys.

Security and privacy in 5 minutes (read before teaching this unit)

The idea in plain words

The operating system sits between apps and hardware. Apps ask it to use the camera or save a file; it uses a driver for each device, so the same app works with any webcam, and it decides which apps may use what.

To reach a website, DNS turns its name into an IP address; every packet carries that address, and routers use their tables to send it the right way. A lookalike name (schoo1 instead of school) leads to a different address, and a different server.

Authentication proves who you are (a password, plus a code with multi-factor sign-in). Authorisation (permissions) decides what you may then do. Give each role only what its job needs (least privilege).

Passwords are stored as hashes: a one-way scramble, the same every time for the same password, so a login can be checked without storing the password. A salt makes identical passwords hash differently. Public key encryption is like an open padlock anyone can snap shut, while only its owner has the key; it is how HTTPS sets up a secret with a website.

Links

The Code pathway's Secret messages course builds ciphers, key exchange and challenge-response on micro:bits, and ends with its own capture the flag.

What students get wrong

  • Apps talk straight to hardware. They go through the OS and its drivers.
  • A link that looks right is right. One character can change the address.
  • Signing in means you can do anything. Authentication and authorisation are separate.
  • Websites store your password. Good ones store only a salted hash.
  • The public key opens the message. It only locks; the private key opens.

The words

operating system, driver, IP address, DNS, router, authentication, authorisation, least privilege, multi-factor, hash, salt, public key, private key.

Cheat sheet: Open to print (A4, with board pictures) · Open in Print · Markdown

Capture the flag

Find the weaknesses in a school portal with what you have learned, then fix them.

Cheat sheet: Open to print (A4, with board pictures) · Open in Print · Markdown

Project briefs

Printable task sheets for assessment or extension: students make something, hand it in and explain their choices. The success criteria are the curriculum nodes' own. Open the briefs page

Protect a school portal (after keys)

A made-up school portal holds student marks. Students sign in, and teachers can change marks. Your task is to explain how the portal is kept safe, from the moment a student signs in to the moment their marks are read.

Draw the journey of one sign-in and one mark change, labelling each protection where it acts. Then explain how the protections work together, and what would still go wrong if one of them were missing.

Hand in:

  • A labelled diagram of the journey, showing at least: the connection between the browser and the portal, how the password is stored, who may do what once signed in.
  • An explanation of what public and private keys protect and how, and what a hash protects and how it differs from encrypting something.
  • One example that shows the difference between proving who you are and being allowed to do something, and what the permission protects against.
  • A paragraph on how the protections depend on each other: for each of two protections, what would still be at risk if the other one were missing.

Evidences:

  • Access control mechanisms (AC9TDI10K01 node 3): Distinguishes authentication from authorisation/permissions correctly; Explains what a specific access control mechanism protects against in a networked context
  • Cryptographic security mechanisms (AC9TDI10K01 node 4): Correctly explains what public key cryptography protects (data in transit) and how it does so; Correctly explains what hashing protects (stored data / integrity verification) and how it differs from encryption
  • Integration — how hardware and software work together in secured networks (AC9TDI10K01 node 5): Identifies the role of at least two distinct components in securing data in a networked system; Explains how the components interact — not just what each does individually

Defensive and conceptual only: the portal is made up, and students explain protections, not ways round them. Strong answers keep three ideas apart: public and private keys protect data on its way (only the holder of the private key can read it); a salted hash protects what is stored (the site keeps a fingerprint, not the password, and cannot turn it back); permissions decide what a signed-in person may do (a student can sign in correctly and still not change marks). The common slip is saying a hash is "encrypted" or that HTTPS protects stored passwords: Public and private keys and Hashes and salt are the lessons to return to. The last item is the node's main idea (10K01 n5): protections cover different risks, so they interact and none is enough alone.