JSand: complete client-side sandboxing of third-party JavaScript without browser modifications

Pieter Agten, S. Acker, Yoran Brondsema, Phu H. Phung, Lieven Desmet, F. Piessens
{"title":"JSand: complete client-side sandboxing of third-party JavaScript without browser modifications","authors":"Pieter Agten, S. Acker, Yoran Brondsema, Phu H. Phung, Lieven Desmet, F. Piessens","doi":"10.1145/2420950.2420952","DOIUrl":null,"url":null,"abstract":"The inclusion of third-party scripts in web pages is a common practice. A recent study has shown that more than half of the Alexa top 10000 sites include scripts from more than 5 different origins. However, such script inclusions carry risks, as the included scripts operate with the privileges of the including website.\n We propose JSand, a server-driven but client-side JavaScript sandboxing framework. JSand requires no browser modifications: the sandboxing framework is implemented in JavaScript and is delivered to the browser by the websites that use it. Enforcement is done entirely at the client side: JSand enforces a server-specified policy on included scripts without requiring server-side filtering or rewriting of scripts. Most importantly, JSand is complete: access to all resources is mediated by the sandbox.\n We describe the design and implementation of JSand, and we show that it is secure, backwards compatible, and that it performs sufficiently well.","PeriodicalId":397003,"journal":{"name":"Asia-Pacific Computer Systems Architecture Conference","volume":"64 3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-12-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"114","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Asia-Pacific Computer Systems Architecture Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2420950.2420952","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 114

Abstract

The inclusion of third-party scripts in web pages is a common practice. A recent study has shown that more than half of the Alexa top 10000 sites include scripts from more than 5 different origins. However, such script inclusions carry risks, as the included scripts operate with the privileges of the including website. We propose JSand, a server-driven but client-side JavaScript sandboxing framework. JSand requires no browser modifications: the sandboxing framework is implemented in JavaScript and is delivered to the browser by the websites that use it. Enforcement is done entirely at the client side: JSand enforces a server-specified policy on included scripts without requiring server-side filtering or rewriting of scripts. Most importantly, JSand is complete: access to all resources is mediated by the sandbox. We describe the design and implementation of JSand, and we show that it is secure, backwards compatible, and that it performs sufficiently well.
JSand:无需修改浏览器即可完成第三方JavaScript的客户端沙箱
在网页中包含第三方脚本是一种常见的做法。最近的一项研究表明,Alexa排名前10000的网站中,超过一半的网站包含来自5个以上不同来源的脚本。然而,这样的脚本包含有风险,因为包含的脚本使用包含网站的特权操作。我们提出JSand,一个服务器驱动的客户端JavaScript沙箱框架。JSand不需要修改浏览器:沙箱框架是用JavaScript实现的,并由使用它的网站交付给浏览器。强制执行完全在客户端完成:JSand在包含的脚本上强制执行服务器指定的策略,而不需要服务器端过滤或重写脚本。最重要的是,JSand是完整的:对所有资源的访问都是通过沙盒进行调解的。我们描述了JSand的设计和实现,并展示了它是安全的、向后兼容的,并且它的性能足够好。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信