InterviewBuddy
All interview questions

Why separate validation from authorization?

Beginner

Answer

Validation checks whether input has an acceptable shape; authorization checks whether a caller may perform the action. Valid input can still be forbidden.