Least privilege access for persistent storage mechanisms in web browsers

Show simple item record

dc.contributor.author Priyadarsini, Gayatri
dc.contributor.author Goel, Dishank
dc.contributor.author Bichhawat, Abhishek
dc.coverage.spatial Australia
dc.date.accessioned 2025-05-01T15:06:28Z
dc.date.available 2025-05-01T15:06:28Z
dc.date.issued 2025-04-28
dc.identifier.citation Priyadarsini, Gayatri; Goel, Dishank and Bichhawat, Abhishek, "Least privilege access for persistent storage mechanisms in web browsers", in the ACM Web Conference (WWW '2025), Sydney, AU, Apr. 28-May 02, 2025.
dc.identifier.uri https://doi.org/10.1145/3696410.37148
dc.identifier.uri https://repository.iitgn.ac.in/handle/123456789/11373
dc.description.abstract Web applications often include third-party content 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, associated with the host page. Various mechanisms have been implemented to restrict access to these storage objects, 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 objects. We perform an empirical study of persistent storage access by third-party scripts on Tranco's top 10,000 websites and find that 89.84% of all cookie accesses, 90.98% of all localstorage accesses and 72.49% of IndexedDB accesses are done by third-party scripts. Our approach enforces least privilege access for third-party scripts on these objects to ensure their security by attaching labels to the storage objects that specify which domains are allowed to read from and write to these objects. We implement our approach on the Firefox browser and show that it effectively blocks scripts from other domains, which are not allowed access based on these labels, from accessing the storage objects. We show that our enforcement results in some functionality breakage in websites with the default settings, which can be fixed by correctly labeling the storage objects used by the third-party scripts.
dc.description.statementofresponsibility by Gayatri Priyadarsini, Dishank Goel and Abhishek Bichhawat
dc.language.iso en_US
dc.subject Least privilege access
dc.subject Web browsers
dc.subject Taints
dc.subject Cookies
dc.subject Localstorage
dc.title Least privilege access for persistent storage mechanisms in web browsers
dc.type Conference Paper
dc.relation.journal ACM Web Conference (WWW '2025)


Files in this item

Files Size Format View

There are no files associated with this item.

This item appears in the following Collection(s)

Show simple item record

Search Digital Repository


Browse

My Account