HTTP Proxy Authentication via Custom Headers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Proxy authentication can introduce significant delays in traffic between a client and multiple servers due to the need for redirecting traffic and using cookies, which impedes the smooth and reliable flow of HTTP traffic during an authenticated session.

Innovation Solution

Implementing HTTP proxy authentication using custom headers that include an authentication token, which is generated by the proxy and cached by the local proxy application, allowing the proxy to authenticate requests without redirecting or using cookies, even for encrypted traffic.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the proxy uses cookies and redirects traffic for authentication, then the authentication function is achieved, but significant delay is introduced in traffic flow

Engineering Contradiction:
Improveauthentication functionVSAvoidtraffic delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts the authentication token from the cookie mechanism and places it in custom HTTP request headers instead. This removes the need for cookie-based authentication workflows including Set-Cookie headers, cookie storage, and cookie transmission, thereby eliminating the redirects and delays associated with traditional cookie-based proxy authentication while maintaining the authentication function.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If the proxy redirects traffic for authentication, then authentication is performed, but the smooth flow of traffic is impeded

Engineering Contradiction:
Improveauthentication functionVSAvoidtraffic flow smoothness
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The authentication token is generated and attached to HTTP requests in advance via custom headers before the proxy needs to authenticate the traffic. This preliminary action eliminates the need for real-time redirects during traffic flow, allowing the proxy to authenticate requests smoothly without interrupting the traffic stream, thus maintaining both authentication reliability and traffic flow smoothness.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If cookies are used for authentication tokens, then authentication state can be maintained, but device complexity increases

Engineering Contradiction:
Improveauthentication state maintenanceVSAvoidcookie management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent substitutes the mechanical cookie management system (including cookie storage, retrieval, and transmission mechanisms) with a simpler header-based authentication system. The authentication token is passed directly in custom HTTP request headers from the client through the proxy to the server, eliminating the need for complex cookie management infrastructure while maintaining authentication state reliability.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS10728245B2HTTP proxy authentication using custom headers
Publication Date: 2020.07.28 CA TECH INC
  • US10728245B2 patent drawing
  • US10728245B2 patent drawing
  • US10728245B2 patent drawing

AI summary

Hypertext Transfer Protocol (HTTP) proxy authentication using custom headers. In one embodiment, a method may include authenticating an HTTP session of a client, generating an authentication token that identifies the authenticated HTTP session, sending and intercepting an HTTP response with a custom header that includes the authentication token, caching the authentication token, intercepting one or more HTTP requests, adding the custom header that includes the authentication token to the HTTP requests, sending and intercepting the HTTP requests with the custom header that includes the authentication token, and, in response to intercepting at the proxy the custom header that includes the authentication token with the one or more HTTP requests, sending the one or more HTTP requests to one or more servers according to a policy corresponding to the authenticated HTTP session.