Patent ID: 9680801
Date: 2017-06-13
CPC Classifications: H04L

Claim:
1. A computer-implemented method executed by one or more processors, the method comprising: receiving, from a client device within a network, a request addressed to a particular resource on a server outside the network; determining that the request should be redirected to a man-in-the-middle gateway within the network; redirecting the request to a man-in-the-middle gateway within the network responsive to determining that the request should be redirected; establishing a first encrypted connection between the client device and the man-in-the-middle gateway, and a second encrypted connection between the man-in-the-middle gateway and the server; retrieving, by the man-in-the-middle-gateway, the particular resource from the server; modifying the particular resource into a modified resource by changing pointers within the particular resource to point to a location in a domain associated with the man-in-the-middle gateway within the network; and serving, by the man-in-the-middle-gateway to the client device, the modified resource.