Explain Broken Object-Level Authorization (OWASP API1 BOLA) and how to prevent it
Broken Object-Level Authorization (BOLA/IDOR) occurs when an authenticated endpoint accepts a record ID (/api/invoices/1042) without verifying server-side that the logged-in user owns or has permission to access that specific resource.