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 use basic authorization in PHP curl

I am having problem with PHP curl request with basic authorization. Here is the command line curl: curl -H "Accept: …

php curl authorization
ASP.NET MVC 4 Custom Authorize Attribute with Permission Codes (without roles)

I need to control the access to views based on users privilege levels (there are no roles, only privilege levels …

asp.net-mvc-4 authorization custom-attributes
MongoDB "root" user

Is there a super UNIX like "root" user for MongoDB? I've been looking at http://docs.mongodb.org/manual/reference/…

mongodb authentication mongodb-query authorization roles
Custom HTTP Authorization Header

I was wondering if it's acceptable to put custom data in an HTTP authorization header. We're designing a RESTful API …

http rest header authorization
How to call a RESTful web service from Android?

I have written a REST web service in Netbean IDE using Jersey Framework and Java. For every request the user …

java android web-services rest authorization
Why is <deny users="?" /> included in the following example?

The ? wildcard represents unauthenticated users while * represents all users, authenticated and unauthenticated. My book shows the following example of URL …

asp.net authentication asp.net-membership forms-authentication authorization
How to send custom headers with requests in Swagger UI?

I have some endpoints in the API - /user/login, /products. In Swagger UI I post email and password to /…

api authorization swagger swagger-ui
ASP.NET Web API : Correct way to return a 401/unauthorised response

I have an MVC webapi site that uses OAuth/token authentication to authenticate requests. All the relevant controllers have the …

c# asp.net-mvc authorization
How to get user name using Windows authentication in asp.net?

I want to get user name using Windows authentication Actually I implemented "Sign in as different user",when click this …

c# asp.net authorization windows-authentication windows-security
Redirecting unauthorized controller in ASP.NET MVC

I have a controller in ASP.NET MVC that I've restricted to the admin role: [Authorize(Roles = "Admin")] public class …

c# asp.net-mvc redirect authorization