Least Privilege Access for Persistent Storage Mechanisms in Web Browsers
Gayatri Priyadarsini Kancherla, Dishank Goel, Abhishek Bichhawat

TL;DR
This paper proposes a fine-grained access control mechanism for browser persistent storage, using labels to restrict third-party scripts, and demonstrates its effectiveness and impact through empirical analysis and implementation in Firefox.
Contribution
It introduces a least privilege access control system for browser storage that enforces domain-specific permissions for third-party scripts.
Findings
89.84% of cookie accesses are by third-party scripts
90.98% of localstorage accesses are by third-party scripts
72.49% of IndexedDB accesses are by third-party scripts
Abstract
Web applications often include third-party content and scripts to personalize a user's online experience. These scripts have unrestricted access to a user's private data stored in the browser's persistent storage like cookies, localstorage and IndexedDB, associated with the host page. Various mechanisms have been implemented to restrict access to these storage objects, e.g., content security policy, the HttpOnly attribute with cookies, etc. However, the existing mechanisms provide an all-or-none access and do not work in scenarios where web applications need to allow controlled access to cookies and localstorage objects by third-party scripts. If some of these scripts behave maliciously, they can easily access and modify private user information that are stored in the browser objects. The goal of our work is to design a mechanism to enforce fine-grained control of persistent storage…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCaching and Content Delivery · Peer-to-Peer Network Technologies · Distributed and Parallel Computing Systems
