LyraLearn AI Learning Platform
Exams
← Back to the lesson
Module 7 Β· Quiz

Authentication and Authorization in MVC

1. What is the primary role of the `[Authorize]` attribute in ASP.NET Core?
2. What is a significant benefit of using authorization policies in ASP.NET Core?
3. Why is it important to implement a per-record ownership check in your service layer?
4. What must you consider when designing cookie authentication for a web application?