Level 6 · Cloud Computing, DevOps and Cybersecurity · Course 6.4 Cybersecurity
Module 76: API and Network Security
Goal: protect the paths into and between your systems: firewalls and private networks, encryption in transit, API authentication, rate limits against abuse, and safe calls from your server to others.
You'll need: your CRM's server, Nginx and firewall set-up (Module 66), its API (Modules 46 to 50) and your architecture notes (Module 68). Scan and test only your own servers.
Lessons
- 1Firewalls and network layers15–25 minutes✓
- 2TLS everywhere15–25 minutes✓
- 3API authentication15–25 minutes✓
- 4Rate limits and abuse15–25 minutes✓
- 5Secure networks and server-side requests15–25 minutes✓
🛠️Module practice: Project D, part 4, network and API hardening
- Matching default-deny cloud and host firewall rules, SSH restricted where possible, fail2ban, and an outside scan.
- TLS everywhere with an SSL Labs A, database TLS where needed, and no disabled certificate checks.
- Scoped, hashed API keys for one machine client, and verified webhooks.
- Rate limits on authentication and exports, and resource limits checked.
- SSRF review of outgoing requests, private admin tools, and a locked domain account.
✅Module check
Explain in a few sentences, in your own words:
How do you protect an application's network and APIs?
Show a good answer
A good answer mentions: default-deny cloud and host firewalls, restricted SSH with fail2ban, and a WAF or DDoS protection as extra layers; TLS on every hop that leaves a machine, with certificate checks never disabled; the right authentication for each caller (sessions, scoped hashed rotatable API keys in headers, OAuth with PKCE, signed webhooks) and minimal response data; rate and resource limits returning 429; private networks and VPN-only admin access; SSRF defences on any server-side fetch; and a secured domain account.
📝Module quiz
10 questions · 10 marks each · 100 marks in all · pass mark 70% · retry as often as you like ·
