Table of Content
The Proxy-Authorization header field allows the client to identify itself (or its user) to a proxy requiring authentication. Its value consists of credentials that authenticate the client to the proxy. It is used when a proxy requires authorization from the client and it carries the credentials from the client end to the proxy server.
- Credentials: The credentials are often in the form of a scheme followed by a base64 encoded string. The scheme could be Basic, Digest or NTLM.
Example of a basic authorization using the Proxy-Authorization header in HTTP:
Proxy-Authorization: Basic YWxhZGRpbjpvcGVuc2VzYW1l
How to modify Proxy-Authorization header
ModHeader is a Chrome extension that allows you to modify and manipulate HTTP request headers.
To use ModHeader for modifying the Proxy-Authorization header, follow the steps -
- Install the ModHeader extension from Chrome web store.
- Click on the ModHeader icon in the chrome toolbar.
- In the ModHeader tab that opens, click on the 'Request headers' tab.
Proxy-Authorizationin the Header name field.
- Enter the header value (credentials) in the Header value field
- Save the setting and reload your website. The header will now send the updated value.
Modifying the Proxy-Authorization header is useful when testing the proxy server's authentication system, to ensure that it functions correctly. It can also be used to simulate different users' credentials to verify the authorization and access control functionality of the server.