arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1309.3914cs.PLcs.CR
收藏

SafeJS:JavaScript的密封沙箱

SafeJS: Hermetic Sandboxing for JavaScript

Damien Cassou, Stéphane Ducasse, Nicolas Petton

摘要:

隔离程序是支持更安全的应用程序的重要机制。隔离动态语言(如JavaScript)中的程序更具挑战性,因为反射操作可以绕过可以保护程序部分的简单机制。在本文中,我们将介绍SafeJS,这是一种方法和实现,它基于单独的沙箱提供隔离,并控制它们之间交换的信息。在SafeJS中,基于Web Workers的沙箱不共享任何数据。沙盒之间的数据交换完全基于字符串。使用不同的策略,这个基础设施支持隔离通常填充网页的不同脚本。外部组件不能以意外的方式修改主DOM树。我们的SafeJS实现目前正在Resilience FUI 12项目的背景下用于工业环境。

英文摘要:

Isolating programs is an important mechanism to support more secure applications. Isolating program in dynamic languages such as JavaScript is even more challenging since reflective operations can circumvent simple mechanisms that could protect program parts. In this article we present SafeJS, an approach and implementation that offers isolation based on separate sandboxes and control of information exchanged between them. In SafeJS, sandboxes based on web workers do not share any data. Data exchanged between sandboxes is solely based on strings. Using different policies, this infrastructure supports the isolation of the different scripts that usually populate web pages. A foreign component cannot modify the main DOM tree in unexpected manner. Our SafeJS implementation is currently being used in an industrial setting in the context of the Resilience FUI 12 project.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑