发明名称 CLIENT-SITE DOM API ACCESS CONTROL
摘要 A method of restricting usage of a Document Object Model (DOM) application programming interfaces (API) is disclosed. A DOM virtualization layer intercepts a usage of a DOM API associated with one or more scripts running on a web browser. The DOM virtualization layer determines whether the usage of the DOM API by the one or more scripts is allowed based on a DOM API access control list, wherein the DOM API access control list excludes usage of the DOM API by at least some scripts. The DOM virtualization layer processes the usage of the DOM API based on the determination.
申请公布号 US2016241560(A1) 申请公布日期 2016.08.18
申请号 US201514814400 申请日期 2015.07.30
申请人 Instart Logic, Inc. 发明人 Reshadi Mohammad H.;Kolam Hariharan;Gaunker Rajaram;Venkat Raghu Batta
分类号 H04L29/06;H04L29/08 主分类号 H04L29/06
代理机构 代理人
主权项 1. A method of restricting usage of a Document Object Model (DOM) and browser application programming interfaces (API) by an edge server device, comprising: receiving, by the edge server device, a request for a webpage file from a web browser running on a device; injecting, by the edge server device, a DOM virtualization client on the device by adding JavaScript DOM virtualization client code in the webpage file to form a modified webpage file, and wherein the JavaScript DOM virtualization client code is executable by the web browser, and wherein adding JavaScript DOM virtualization client code comprises: adding JavaScript code that, when executed by the web browser, causes the DOM virtualization client to intercept a usage of a DOM API associated with one or more scripts running on the web browser;adding JavaScript code that, when executed by the web browser, causes the DOM virtualization client to determine whether the usage of the DOM API by the one or more scripts is allowed based on a DOM API access control list, wherein the DOM API access control list excludes usage of the DOM API by at least some scripts; andadding JavaScript code that, when executed by the web browser, causes the DOM virtualization client to process the usage of the DOM API based on the determination; and sending to the web browser the modified webpage file with the JavaScript DOM virtualization client code added.
地址 Palo Alto CA US