Gateway Header Enhancement for User Identity Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Social-networking systems face challenges in verifying user identity and session status before granting access to resources, particularly in ensuring users have signed terms-of-service (TOS) before accessing certain content.

Innovation Solution

A gateway intercepts encrypted requests, redirects to an unsecured URL, adds identifying information to the request headers, and routes the modified request to determine user identity and session status, allowing authorized access to specific resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the gateway intercepts and modifies encrypted requests to add user identifying information, then user identity verification is improved, but request encryption security is worsened

Engineering Contradiction:
Improveuser identity verificationVSAvoidrequest encryption security
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The system performs user identification and session verification before the actual resource request is processed. The gateway intercepts the encrypted request, extracts or adds user identifying information to the header, and performs verification in advance. This preliminary action allows the system to establish user identity before decrypting or processing the main request body, thus maintaining security while enabling verification.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The gateway acts as an intermediary between the client device and the social-networking system server. It receives the encrypted request, modifies the header by adding user identifying information without decrypting the main payload, and forwards it to the server. This intermediary role allows the gateway to perform verification functions while preserving the encryption of the actual request data.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If the system redirects requests through unsecured URLs for verification, then user session status checking is improved, but communication security is worsened

Engineering Contradiction:
Improvesession status verificationVSAvoidcommunication security
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The system performs session status verification as a preliminary action before granting access to the main resource. The redirect to an unsecured URL is used only for this specific verification purpose, and the actual resource access still occurs through the original encrypted channel. This separates the verification function from the main data transmission, minimizing security exposure.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The verification function is extracted from the main request-flow and handled separately through a redirect mechanism. The unsecured URL is used only for the specific purpose of checking session status, while the main resource access remains on the secure encrypted channel. This extraction isolates the security risk to a minimal, controlled scope.

Inventive Principle:
Principle #2Taking out (Extraction)

3Loss of information

If the gateway adds non-standard header fields to requests, then user information tracking is improved, but protocol compatibility is worsened

Engineering Contradiction:
Improveuser information trackingVSAvoidprotocol compatibility
Core Design Contradiction:
Loss of informationVSAdaptability or versatility

Solution Approach 1:

The non-standard header fields are added locally by the gateway for its specific verification purposes, while the rest of the request maintains standard protocol formatting. The modification is localized to the header section and does not affect the body or the overall HTTP protocol structure. This allows the gateway to track user information while maintaining compatibility with standard HTTP processing for the actual resource requests.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS10686606B2Header enhancement
Publication Date: 2020.06.16 META PLATFORMS INC
  • US10686606B2 patent drawing
  • US10686606B2 patent drawing
  • US10686606B2 patent drawing

AI summary

In one embodiment, a method includes receiving a first encrypted request from a client device. The request includes a request for access to a resource corresponding to a first uniform resource locator (URL). The method also includes routing the first encrypted request to the first URL; and sending a first response to the client device from the first URL. The first response includes a redirection instruction to a second URL, and the second URL is an unsecured URL. The method also includes intercepting an unencrypted request from the client device. The unencrypted request includes a request to access a resource corresponding to the second URL. The method also includes sending a modified version of the unencrypted request to the resource corresponding to the second URL. The modified version of the unencrypted request includes information identifying the client device.