| CPC H04L 63/166 (2013.01) [H04L 63/0236 (2013.01)] | 20 Claims |

|
11. A secure web gateway that is deployed on a cloud between a web client and a web server, the secure web gateway comprising at least one processor and a memory, the memory storing instructions that when executed by the at least one processor cause the secure web gateway to:
receive a first Hypertext Transfer Protocol (HTTP) request sent by the web client to access a target resource on the web server, the first HTTP request including an original server location;
send the web client a redirect response status code that includes a replacement server location;
receive from the web client a Hypertext Transfer Protocol Secure (HTTPS) request to access the target resource, the HTTPS request including the replacement server location and being received in the secure web gateway over an HTTPS connection between the secure web gateway and the web client;
forward the HTTPS request as a second HTTP request to the web server, the second HTTP request including the original server location;
receive from the web server an HTTP response that is responsive to the second HTTP request; and
forward the HTTP response as an HTTPS response to the web client.
|