Title :
Towards Fine-Grained Access Control in JavaScript Contexts
Author :
Patil, Kailas ; Dong, Xinshu ; Li, Xiaolei ; Liang, Zhenkai ; Jiang, Xuxian
Author_Institution :
Sch. of Comput., Nat. Univ. of Singapore, Singapore, Singapore
Abstract :
A typical Web 2.0 application usually includes JavaScript from various sources with different trust. It is critical to properly regulate JavaScript´s access to web application resources. Unfortunately, existing protection mechanisms in web browsers do not provide enough granularity in JavaScript access control. Specifically, existing solutions partially mitigate this sort of threat by only providing access control for certain types of JavaScript objects, or by unnecessarily restricting the functionality of untrusted JavaScript. In this paper, we systematically analyze the complete access control requirements in a web browser´s JavaScript environment and identify the fundamental lack of fine-grained JavaScript access control mechanisms in modern web browsers. As our solution, we propose a reference monitor called JCShadow that enables fine-grained access control in JavaScript contexts without unnecessarily restricting the functionality of JavaScript. We have developed a proof-of-concept prototype in the Mozilla Firefox browser and the evaluation with real-world attacks indicates that JCShadow effectively prevents such attacks with low performance overhead.
Keywords :
Internet; Java; authorisation; online front-ends; JC Shadow; JavaScript contexts; Mozilla Firefox browser; Web 2.0 application resources; Web browser; fine grained JavaScript access control mechanism; proof-of-concept prototype; reference monitor; Access control; Browsers; Context; Engines; Libraries; Web pages;
Conference_Titel :
Distributed Computing Systems (ICDCS), 2011 31st International Conference on
Conference_Location :
Minneapolis, MN
Print_ISBN :
978-1-61284-384-1
Electronic_ISBN :
1063-6927
DOI :
10.1109/ICDCS.2011.87