CY5: Network defence and hardening

Lesson 5 of 5 · reading 15–25 minutes; practice and project time is on the module page

Hardening, patching and backups

🎯You'll be able to

Build servers from a secure baseline, keep them patched, and keep backups that can actually restore the service.

🏠The everyday picture

A car is safer when it leaves the factory with good brakes, gets serviced on schedule, and has a spare tyre that's actually inflated.

📘What it really is

📝A worked example

Input: a new Linux server for AarogyaDesk.

Steps:

  1. Install only what's needed; create a personal admin account; turn off SSH password login and root login.
  2. Turn on automatic security updates; set a monthly patch window for everything else.
  3. Back up the database nightly to a second location, keep one weekly copy offline, and restore it to a test machine once a month.

Expected output: a one-page build checklist and a backup plan with a restore test.

🌍Where it's used

📝Case scenario

A school's records were encrypted by ransomware, and so was its backup drive, which was always plugged in. A nearby school hit by the same group restored from a weekly offline copy in two days.

🖱️Try it

Write a five-line restore test for a backup you keep (photos, documents or a site). Success: it says where the copy is, how you'd restore it, and how you'd check it worked.

⚠️Common mistakes

🛠️For your project

The capstone notes include a hardening checklist and a backup and restore plan for AarogyaDesk.

✅Quick check

What is the 3-2-1 backup rule?

Show the answer

Three copies, on two kinds of storage, with one kept offline or elsewhere.

Why must backups be tested?

Show the answer

Only a successful restore shows that the backup works.

← PreviousSecurity headers and safe settings in the app
ProLearners Assist