Foundations of Security Analysis and Design VII - FOSAD 2012/2013 Tutorial Lectures
Foundations of Security Analysis and Design VII - FOSAD 2012/2013 Tutorial Lectures
复制标题
安全分析与设计基础 VII - FOSAD 2012/2013 教程讲座
DOI:
10.1007/978-3-319-10082-1_4
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
Bhargavan K
中科院分区:
文献类型:
--
作者:
Bhargavan K
Defensive JavaScript (DJS) is a typed subset of JavaScript that guarantees that the functional behavior of a program cannot be tampered with even if it is loaded by and executed within a malicious environment under the control of the attacker. As such, DJS is ideal for writing JavaScript security components, such as bookmarklets, single sign-on widgets, and cryptographic libraries, that may be loaded within untrusted web pages alongside unknown scripts from arbitrary third parties. We present a tutorial of the DJS language along with motivations for its design. We show how to program security components in DJS, how to verify their defensiveness using the DJS typechecker, and how to analyze their security properties automatically using ProVerif.