System Design · Middle · Question 55 of 75

What is IDOR, and how is it prevented?

GET /api/invoices/1043   // user changes the id to 1044

Explanation

Unguessable ids reduce enumeration but don't replace authorization checks on every object.

Further reading

Problem with a question

System Design · Middle · question 55

Test yourself

Take the System Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz