← All articles

Reading-path month: April 2026. Collection published on September 12, 2026. Months organize the reading path; they are not earlier publication dates.

BOLA and IDOR: review the actual object

Knowing an identifier is not authorization evidence.

API Security

Content produced with AI assistance for Thiago Silva’s website. Independent editorial analysis; it does not represent clients or employers.

Reading context

A short architecture article. The technical reference supports the topic; hypothetical scenarios and assessment proposals are editorial analysis, not accounts of personal implementations.

Original source ↗

The architecture decision

An API can identify a user correctly and still return another account's object. Review must link identity to the requested resource, including exports and batch operations.

Practical application

Editorial proposal: create synthetic data with two users and separate resources. Explain the relationship permitting every operation. A hard-to-guess identifier must not replace this decision.

How to verify

Repeat the journey changing only the object while retaining the session. Include indirect relationships such as order attachments. Record rejection and absence of side effects. Demonstrate actual isolation, not merely an interface error message.

Sources

  1. OWASP — Insecure Direct Object Reference Prevention Cheat Sheet