← API Security learning pathAPI Security · Module 1 of 8
Why APIs need protecting
APIs expose data and actions directly, so mistakes are costly.
📖 Key ideas
- An API lets apps and other systems read and change data, often without a web page in between.
- Anyone can call a public API directly with tools like curl or Postman, skipping your app's screens.
- The OWASP API Security Top 10 lists the most common API weaknesses, led by broken object-level authorisation.
- Most API breaches come from simple gaps: missing checks, leaked keys or too much data returned.
- Security is part of design and code review, not something added at the end.
💡 Real-life example: Your mobile app is the front door of a shop, but the API is the back door to the godown: if only the front door is locked, the stock is still unsafe.
APIInterface that lets programs exchange data
OWASPOpen community that publishes web security guidance
EndpointOne URL and method of an API
Attack surfaceAll the places a system can be reached from outside