Problem Statement
Which API issue is highlighted by OWASP as API1:2023?
Explanation
BOLA occurs when endpoints expose object identifiers without enforcing ownership checks, allowing unauthorized reads or edits. It remains the top API risk.
Code Solution
SolutionRead Only
GET /api/users/1234 // must verify auth.userId == 1234 before returning
