Logo image
Position Paper: The Case for JavaScript Transactions
Technical documentation   Open access

Position Paper: The Case for JavaScript Transactions

Mohan Dhawan, Chung-chieh Shan and Vinod Ganapathy
Rutgers University
2010
DOI:
https://doi.org/10.7282/T36D5XF0

Abstract

Modern Web applications combine and use JavaScript-based content from multiple untrusted sources. Without proper isolation, such content can compromise the security and privacy of these Web applications. Prior techniques for isolating untrusted JavaScript code do so by restricting dangerous constructs and inlining security checks into third-party code. This paper makes the case that JavaScript must be extended to make isolation a language-level primitive. We propose to extend the language using a new transaction construct that allows a Web application to speculatively execute untrusted code and isolate the changes and effects it performs. The Web application can then inspect these speculative actions and commit them only if they comply with the application’s security policies. We discuss use-cases that can benefit from JavaScript support for transactions, present a formalization of JavaScript transactions and conclude with implementation considerations.
pdf
tr5b48ab465f8c9145.06 kBDownloadView
Version of Record (VoR) Open Access
url
Report an accessibility issueView
Please complete a content remediation request to report an accessibility issue with a library electronic resource, website, or service.

Metrics

129 File downloads
94 Record Views

Details

Logo image