Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between authentication and authorization filters in aspnet-mvc5

Why authentication filter is included in mvc 5? What is the major difference between authentication filter and authorization filter in mvc 5?

like image 814
Coder Avatar asked Sep 01 '16 07:09

Coder


1 Answers

I found the following blog post: ASP.NET MVC 5 Authentication Filters

Basically its about separation of concerns.

Authentication: find out WHO issued a request.

Authorization: find out whether a known user is allowed to perform a certain action.

like image 188
Georg Patscheider Avatar answered Sep 30 '22 17:09

Georg Patscheider