Module 48: API Security

Lesson 1 of 5 · 15–25 minutes

Thinking like an attacker

🏠The everyday picture

A shop owner who locks the front door but leaves the back door open, the window latch broken, and the safe code on a sticky note. Security is only as strong as the weakest entrance.

📘What it really is

🖱️Try it

Read the OWASP API Security Top 10 summary (owasp.org). For each of the five risks above, write one specific way it could happen in your enquiries API, and whether your API currently prevents it.

✅Quick check

An attacker changes the id in /enquiries/E101 to E102. What weakness is this testing?

Show the answer

Broken object-level authorisation: whether the API checks the person may see that specific item.

What does "least privilege" mean?

Show the answer

Giving each person, service or key only the access it needs, nothing more.

← BackModule 48
ProLearners Assist