The final chapter zooms out to the network and to operations — how you keep attackers out, notice when they get in, and respond well. The theme is that good security is mostly consistent basics, not clever tricks.
Network defences
- Firewalls allow only necessary traffic (default-deny), as you saw with AWS security groups.
- Segmentation puts sensitive systems (databases) on private networks unreachable from the internet.
- VPNs encrypt remote access so staff can reach internal systems safely.
- IDS/IPS detect and block suspicious traffic patterns.
Logging & monitoring
You can't defend what you can't see. Centralise logs, and alert on the signals that matter: repeated failed logins, privilege changes, traffic spikes, access from unusual locations. The goal is to shrink dwell time — how long an attacker sits undetected:
Incident response
Assume something will eventually go wrong and have a plan. The standard lifecycle:
| Phase | What you do |
|---|---|
| Prepare | Plans, contacts, backups, drills — before anything happens |
| Detect | Spot the incident via monitoring/alerts |
| Contain | Isolate affected systems to limit spread |
| Eradicate & recover | Remove the cause, restore from clean backups |
| Learn | Post-mortem — fix the root cause, improve controls |
Everyday hardening
The unglamorous basics that prevent the majority of real incidents:
- Patch operating systems and software promptly.
- Enforce MFA and strong, unique passwords (a password manager helps).
- Apply least privilege; remove accounts and access when no longer needed.
- Back up regularly and test restores — untested backups fail when you need them.
- Encrypt data at rest and in transit.
Practice
Draft a one-page incident-response checklist for a small team: who to call, how to contain, where the backups are. Then audit your own accounts — MFA on, unique passwords, unused access removed. Security is a habit, not a one-time project.
Key takeaways
- 01Network defence = default-deny firewalls, segmentation, VPNs and intrusion detection.
- 02Centralise logs and alert on meaningful signals to cut attacker dwell time.
- 03Have an incident-response plan: prepare, detect, contain, eradicate/recover, learn.
- 04Most incidents are prevented by basics: patching, MFA, least privilege, tested backups, encryption.
- 05Security is consistent practice over time, not a one-off task.
