主权项 |
1. A method of providing access to content over a network using an intermediate system, comprising:
receiving, by a master browser module executing on an intermediate server, from a slave browser module executing on a client device, a request for external content; parsing, by the master browser module, received content to construct an intermediate model specifying a representation of visual elements of the content; transmitting, by the master browser module, one or more messages of the intermediate model to the slave browser module, wherein the one or more messages cause the slave browser module to:
create a modified mirrored copy of the intermediate model as a client model;render a presentation based on the client model;monitor for a user interaction event with the content;transmit, to the master browser module, an event identifier corresponding to the user interaction event, responsive to detecting the user interaction event; identifying, by the master browser module, responsive to receiving the event identifier from the slave browser module, a security policy to apply according to the event identifier, the security policy specifying user interaction events allowed at the master browser module using the intermediate model; and determining, by the master browser module, responsive to applying the identified security policy, whether to execute the user interaction event corresponding to the event identifier at the master browser module. |