Web Security · Senior · Question 71 of 75

Where should authorization logic live in a full-stack framework app to be the most reliable?

Explanation

Centralizing checks next to the data means new pages, actions and APIs inherit them. UI and middleware checks are extra layers.

Further reading

Problem with a question

Web Security · Senior · question 71

Test yourself

Take the Web Security · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz