Top "Asp.net-authorization" questions

Authorization determines whether an identity should be granted access to a specific resource.

Custom Authorization Filter in .NET Core API

I want to authorize users before accessing any data using my core api, so I tried is using JWT authentication. …

asp.net-core .net-core authorization asp.net-authorization core-api
Implementing Authentication and role based authorization in ASP.NET MVC web API service and MVC client architecture

I'm having hard time in deciding an approach while implementing Authentication/Authorization scenario for my Web API (Service) - MVC (…

asp.net asp.net-mvc asp.net-mvc-4 asp.net-web-api asp.net-authorization
Prevent FormsAuthenticationModule of intercepting ASP.NET Web API responses

In ASP.NET the FormsAuthenticationModule intercepts any HTTP 401, and returns an HTTP 302 redirection to the login page. This is a …

asp.net forms-authentication asp.net-mvc-4 asp.net-web-api asp.net-authorization
Authorize user based on API-key supplied in request header in ASP.NET Core

I'm trying to rewrite some authorization I currently have for ASP.NET 4.6 in ASP.NET Core. I understand that Authorization …

asp.net-core authorization asp.net-authorization asp.net-core-identity
Add global Authorization filter in ASP.NET Core 2.0

in my ConfigureServices i have created a policy based authorization services.AddAuthorization(options => { options.AddPolicy("test", policy => policy.…

asp.net-core asp.net-core-mvc authorization asp.net-core-2.0 asp.net-authorization
ASP.NET WebApi FormsAuthentication 401 (Unauthorized) issue

I have been learning how authorization works in ASP.Net WebApi and I came across an answer by Darin Dimitrov …

c# authorization asp.net-web-api asp.net-authorization