An authenticated customer changes the account ID in a REST API request URL and receives another customer's records. Which control BEST prevents this?
Show the answer
Correct answerA. Server-side object-level authorization checks on every request
AWhy this is right: Checking the caller's rights to each requested object stops ID tampering, even for authenticated users.
BWhy not this: Rate limiting slows abuse and enumeration volume but does not block access to a single other customer's record.
CWhy not this: Schema validation confirms the ID is well formed, but a well-formed ID for another customer still passes.
DWhy not this: TLS protects data in transit; the attacker is a legitimate session receiving the data over that same channel.
This is broken object-level authorization: the API trusts the client-supplied ID. The server must verify that the caller owns or may access each requested object. TLS protects traffic in transit but does not stop an authenticated user requesting someone else's object.