Blockaid: Data Access Policy Enforcement for Web Applications

Wen Zhang, Eric Sheng, Michael Chang, Aurojit Panda, Mooly Sagiv +1 more
5/13/2022
cs.DB

Official code: blockaid-project/blockaid (6 stars, Java, last commit 2022-05-27). 1 more implementation below.

Abstract

Modern web applications serve large amounts of sensitive user data, access to which is typically governed by data-access policies. Enforcing such policies is crucial to preventing improper data access, and prior work has proposed many enforcement mechanisms.

Show full abstract

However, these prior methods either alter application semantics or require adopting a new programming model; the former can result in unexpected application behavior, while the latter cannot be used with existing web frameworks. Blockaid is an access-policy enforcement system that preserves application semantics and is compatible with existing web frameworks. It intercepts database queries from the application, attempts to verify that each query is policy-compliant, and blocks queries that are not. It verifies policy compliance using SMT solvers and generalizes and caches previous compliance decisions for better performance. We show that Blockaid supports existing web applications while requiring minimal code changes and adding only modest overheads.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
blockaid-project/blockaidOfficial6Java–2022-05-27
blockaid-project/artifact-evalOfficial0––2024-02-28

Run-time data-access policy enforcement for web applications.

61Java, PLpgSQLApr 12, 20224 years ago

Artifact evaluation README for OSDI '22 paper.

00Apr 15, 20222 years ago

Similar Papers

Cite this paper

@article{zhang2022blockaid,
  title  = {Blockaid: Data Access Policy Enforcement for Web Applications},
  author = {Wen Zhang and Eric Sheng and Michael Chang and Aurojit Panda and Mooly Sagiv and Scott Shenker},
  year   = {2022},
  eprint = {2205.06911},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.06911}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.06911.svg)](https://codeofpaper.com/paper/2205.06911)

Discussion