JavaScript in JavaScript (js.js): Sandboxing Third-Party Scripts.

Jeff Terrace,Stephen R. Beard, Naga Praveen Kumar Katta

WebApps'12 Proceedings of the 3rd USENIX conference on Web Application Development(2012)

引用 6|浏览0
暂无评分
摘要
Running on billions of today's computing devices, JavaScript has become a ubiquitous platform for deploying web applications. Unfortunately, an application developer who wishes to include a third-party script must enter into an implicit trust relationship with the third-party--granting it unmediated access to its entire application content. In this paper, we present js.js, a JavaScript interpreter (which runs in JavaScript) that allows an application to execute a third-party script inside a completely isolated, sandboxed environment. An application can, at runtime, create and interact with the objects, properties, and methods available from within the sandboxed environment, giving it complete control over the third-party script. js.js supports the full range of the JavaScript language, is compatible with major browsers, and is resilient to attacks from malicious scripts. We conduct a performance evaluation quantifying the overhead of using js.js and present an example of using js.js to execute Twitter's Tweet Button API.
更多
查看译文
关键词
third-party script,sandboxed environment,present js,JavaScript interpreter,JavaScript language,application developer,deploying web application,entire application content,malicious script,Tweet Button API
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要