Skill 8.5.2

Security of application programming interfaces (API)

Key Concepts

The OWASP API Security Top 10 highlights risks such as broken object-level authorisation (accessing other users' objects by changing an identifier), broken authentication, broken object property level authorisation, unrestricted resource consumption and broken function-level authorisation.

Controls include strong authentication (OAuth 2.0 tokens, mutual TLS), authorisation checks on every object and function, input validation, rate limiting and quotas, minimal data in responses, an API inventory, API gateways and logging.