Slide 7 of 28
Part 1 ยท What Is It?Slide 7
Slide 7 ยท Why APIs Are Different
APIs make authentication harder to get right.
Four reasons APIs are more exposed than traditional web apps.
๐ŸŒ
Auth endpoints are public by design
The login endpoint has to be reachable by everyone โ€” that's its job. Unlike a database or admin panel, you can't firewall it. Every attacker in the world can reach it directly.
๐Ÿ“ฑ
Multiple clients share one auth layer
Mobile app, web app, third-party integrations, partner APIs โ€” all authenticate through the same endpoints. A bug in any one auth path affects all of them.
๐Ÿฉธ
No human in the loop
A traditional web login might show a CAPTCHA. An API endpoint is pure automation โ€” exactly what a credential-stuffing script needs. There's no friction, no review, no delay.
๐Ÿ”—
Microservices often skip auth internally
In a microservices architecture, internal services often trust each other without authentication. If an attacker reaches one internal service โ€” via SSRF or a misconfigured endpoint โ€” they may reach all of them without any credential check.
โ† Back Why is this ranked #2? โ†’