# US 2023/0056928 A1 · Encoding-free javascript stringify for clientless vpn

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0056928 A1
- Document ID: US20230056928A1
- Status: Published application
- Kind: A1
- Application number: 17/971,522
- Filed: 2022-10-21
- Published: 2023-02-23
- Earliest claimed: 2018-07-26
- Assignees: Palo Alto Networks, Inc.
- Applicants: Palo Alto Networks, Inc.
- Inventors: Jiangxia Liu; Qi Zhang; Bin Zhao
- Web page: https://patentgrep.com/patent/US20230056928A1

## CPC

- G06F 16/972: {Access to data in other repository systems, e.g. legacy data or dynamic Web page generation}
- H04L 63/0209: {Architectural arrangements, e.g. perimeter networks or demilitarized zones}
- H04L 63/0272: {Virtual private networks}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A client device requests a web page via a clientless VPN. In response to the request, web page content comprising at least one script element is received at the clientless VPN. The clientless VPN inserts a wrapper function around at least a portion of the script element, forming modified web content. The client device is provided with the modified web content.

## Claims

### Claim 1

A system, comprising:
a processor configured to:
receive, at a device comprising a clientless VPN, and in response to a request made by a client device for a web page, web page content comprising at least one script element;
insert, by the device comprising the clientless VPN, a wrapper function around at least a portion of the at least one script element to form modified web content, wherein the wrapper function is usable by a browser executed on the client device to process the at least a portion of the at least one script element as a single string argument; and
provide the client device with the modified web content; and
a memory coupled to the processor and configured to provide the processor with instructions.

### Claim 2 (depends on 1)

The system of claim 1, wherein the processor is further configured to rewrite one or more links associated with one or more static content items included in the web page and not rewrite links associated with the dynamic content.

### Claim 3 (depends on 1)

The system of claim 1, wherein the processor is further configured to apply escaping as needed to static content links and not apply escaping to dynamic content.

### Claim 4 (depends on 1)

The system recited in claim 1, wherein the device comprising the clientless VPN is a security appliance.

### Claim 5 (depends on 1)

The system recited in claim 1, wherein the device comprising the clientless VPN is a gateway.

### Claim 6 (depends on 1)

The system recited in claim 1, wherein the device comprising the clientless VPN is a firewall.

### Claim 7 (depends on 1)

The system recited in claim 1, wherein the web page is external to a local enterprise network of the client device.

### Claim 8 (depends on 1)

The system recited in claim 1, wherein the request includes a Uniform Resource Identifier (URI).

### Claim 9 (depends on 1)

The system recited in claim 1, wherein the processor is further configured to
authenticate a user associated with the request for access to an application from the client device.

### Claim 10 (depends on 1)

The system of claim 1 wherein the client device is configured to perform an evaluation of the script element using the modified web content.

### Claim 11

A method, comprising:
receiving, at a device comprising a clientless VPN, and in response to a request made by a client device for a web page, web page content comprising at least one script element;
inserting, by the device, a wrapper function around at least a portion of the at least one script element to form modified web content; and
providing the client device with the modified web content.

### Claim 12

A computer program product embodied in a tangible computer readable storage medium and comprising computer instructions for:
receiving, at a device comprising a clientless VPN, and in response to a request made by a client device for a web page, web page content comprising at least one script element;
inserting, by the device, a wrapper function around at least a portion of the at least one script element to form modified web content; and
providing the client device with the modified web content.

### Claim 13

A system, comprising:
a processor configured to:
transmit, to a device comprising a clientless VPN, a request for web page content, wherein the web page content comprises at least one script element;
receive, in response to the request, and from the device comprising the clientless VPN, modified web content, wherein the modified web content includes a wrapper function inserted by the device comprising the clientless VPN around at least a portion of the at least one script element; and
a memory coupled to the processor and configured to provide the processor with instructions.
