ownership check

Confirming that the object a caller asked for actually belongs to that caller before returning or changing it.

In more detail

Put the owner inside the database query or loader function, so no route can reach the data without the check. Answer not found rather than forbidden so the caller cannot learn that the object exists.

Example

The course puts the owner inside the database query or loader function, so no route can reach the data without the check, and answers not found rather than forbidden so the caller cannot learn that the object exists.

Related terms

Taught in

References