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.

basic authorization command for curl

How do I set up the basic authorization using 64 encoded credentials ? I tried below the two commands but of no …

curl authorization
Customize the Authorization HTTP header

I need to authenticate a client when he sends a request to an API. The client has an API-token and …

api http rest http-headers authorization
How to generate access token using refresh token through google drive API?

I have completed steps of authorization and obtained access token and refresh token. What should I do next to generate …

authorization google-drive-api
Why does AuthorizeAttribute redirect to the login page for authentication and authorization failures?

In ASP.NET MVC, you can mark up a controller method with AuthorizeAttribute, like this: [Authorize(Roles = "CanDeleteTags")] public void …

asp.net-mvc authentication authorization
How to scrape a website that requires login first with Python

First of all, I think it's worth saying that, I know there are a bunch of similar questions but NONE …

python http cookies authorization scraper
Get Header Authorization key in laravel controller?

Trying to get the header authorization key in controller for making an API. Request is making from fiddler. $headers = apache_…

php laravel laravel-5 authorization
django: User Registration with error: no such table: auth_user

I try to use Django's default Auth to handle register and login. And I think the procedure is pretty standard, …

python django authentication authorization
Authorize Attribute with Multiple Roles

I would like to add Authorization to a controller, for multiple Roles at once. Normally that would look like this: […

c# asp.net-mvc authorization
htaccess exclude one url from Basic Auth

I need to exclude one Url (or even better one prefix) from normal htaccess Basic Auth protection. Something like /callbacks/…

apache .htaccess authorization
Fetching custom Authorization header from incoming PHP request

So I'm trying to parse an incoming request in PHP which has the following header set: Authorization: Custom Username Simple …

php http-headers authorization