Authorization and access control
A user changes the number at the end of a link from 1001 to 1002, and sees someone else's invoice. They didn't hack anything. They were signed in, and the server checked that. What did it forget to check?
In this lesson you'll learn to
- Compare role-based, attribute-based and relationship-based access control.
- Prevent broken object level authorization by checking every object against the caller.
- Enforce access on the server for every request, denying by default with least privilege.
- Decide where authorization decisions live, from in-service checks to a central policy engine.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.