Top "Authorization" questions

Authorization is the process of determining whether a user, program or device is allowed to access a protected resource in a particular way.

How to implement custom authentication in ASP.NET MVC 5

I'm developing an ASP.NET MVC 5 application. I have an existing DB, from which I created my ADO.NET Entity …

c# asp.net-mvc authentication authorization asp.net-identity
WCF - Windows authentication - Security settings require Anonymous

I am struggling hard with getting WCF service running on IIS on our server. After deployment I end up with …

wcf security authorization
Authentication, Authorization and Session Management in Traditional Web Apps and APIs

Correct me if I am wrong: In a traditional web application, the browser automatically appends session information into a request …

api session authentication authorization
Custom Authorization in Asp.net WebApi - what a mess?

I'm reading from several resources (books and SO answers) about authorization in WebApi. Suppose I want to add Custom Attribute …

asp.net authorization asp.net-web-api
MongoDB 3.2 authentication failed

I create a user with the following set of commands. This should create user in both admin db as well …

mongodb authorization
web site configuration

One web site is required to be accessed by me (developer) and one user (DOMAIN_NAME\USER_NAME). When I …

asp.net authorization asp.net-4.0
How to prevent CSRF in a RESTful application?

Cross Site Request Forgery (CSRF) is typically prevent with one of the following methods: Check referer - RESTful but unreliable …

security http rest authorization csrf
Authorization bearer token Angular 5

I am confused about how to create a good header for a simple Get request in Angular 5. This is what …

angular header authorization bearer-token
How to use JWT in MVC application for authentication and authorization?

I planned to use ASP.NET Identity 2.0 in an ASP.NET MVC application for authentication and authorization. Referring the below …

c# asp.net-mvc-4 authentication authorization asp.net-identity
Accessing post or get parameters in custom authorization MVC4 Web Api

Is it possible to access post or get parameters via the HttpActionContext object? I have a set of sensors that …

.net asp.net-mvc-4 authorization asp.net-web-api