首页> 外文期刊>Journal of computer security >Information-flow security for JavaScript and its APIs
【24h】

Information-flow security for JavaScript and its APIs

机译:JavaScript及其API的信息流安全性

获取原文

摘要

JavaScript drives the evolution of the web into a powerful application platform. Increasingly, web applications combine services from different providers. The script inclusion mechanism routinely turns barebone web pages into full-fledged services built up from third-party code. Script inclusion poses a challenge of ensuring that the integrated third-party code respects security and privacy. This paper presents a dynamic mechanism for securing script executions by tracking information flow in JavaScript and its APIs. On the formal side, the paper identifies language constructs that constitute a core of JavaScript: dynamic objects, higher-order functions, exceptions, and dynamic code evaluation. It develops a dynamic type system that guarantees information-flow security for this language. Based on this formal model, the paper presents JSFlow, a practical security-enhanced interpreter for fine-grained tracking of information flow in full JavaScript and its APIs. Our experiments with JSFlow deployed as a browser extension provide in-depth understanding of information manipulation by third-party scripts. We find that different sites intended to provide similar services effectuate rather different security policies for the user's sensitive information: some ensure it does not leave the browser, others share it with the originating server, while yet others freely propagate it to third parties.
机译:JavaScript推动了Web向功能强大的应用程序平台的演进。 Web应用程序越来越多地组合来自不同提供商的服务。脚本包含机制通常会将准系统网页转换为由第三方代码构建的成熟服务。包含脚本对确保集成的第三方代码尊重安全性和隐私性提出了挑战。本文提出了一种通过跟踪JavaScript及其API中的信息流来保护脚本执行安全的动态机制。从形式上讲,本文确定了构成JavaScript核心的语言构造:动态对象,高阶函数,异常和动态代码评估。它开发了一种动态类型系统,可以保证此语言的信息流安全性。在此正式模型的基础上,本文提出了JSFlow,这是一种实用的,增强了安全性的解释器,用于对完整JavaScript及其API中的信息流进行细粒度跟踪。我们将JSFlow部署为浏览器扩展的实验提供了对第三方脚本对信息操纵的深入了解。我们发现,旨在提供类似服务的不同站点会为用户的敏感信息实施不同的安全策略:一些站点确保它不会离开浏览器,其他站点则与原始服务器共享它,而其他站点则将其自由传播给第三方。

著录项

  • 来源
    《Journal of computer security》 |2016年第2期|181-234|共54页
  • 作者单位

    Department of Computer Science and Engineering, Chalmers University of Technology, Raennvaegen 6B, 41296 Gothenburg, Sweden,School of Innovation, Design and Engineering, Maelardalen University, Box 883, 721 23 Vaesteras, Sweden;

    Department of Computer Science and Engineering, Chalmers University of Technology, Raennvaegen 6B, 41296 Gothenburg, Sweden;

    Department of Computer Science and Engineering, Chalmers University of Technology, Raennvaegen 6B, 41296 Gothenburg, Sweden;

  • 收录信息 美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Web application security; JavaScript; information flow; reference monitoring; noninterference;

    机译:Web应用程序的安全性;JavaScript;信息流;参考监测;不干涉;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号