API Security
API Security
API Security Triad
- Confidentiality — Assets can only be accessed by authorized people.
- Integrity — Prevent unauthorized creation, modification, or deletion of information.
- Availability — Ensure legitimate users can access resources when they need them.
Threat Modeling
Threat modeling is the process of identifying and evaluating threats and weaknesses in a system. Systematically thinking through potential threats increases the security of APIs.
STRIDE — Threat categories:
- Spoofing
- Tampering
- Repudiation
- Information Disclosure
- Denial of Service
- Elevation of Privilege
Security Mechanisms
- Encryption
- Authentication
- Access Control & Authorization
- Audit Logging
- Rate Limiting
本文由作者按照 CC BY 4.0 进行授权