论文标题

BOCKAID:Web应用程序的数据访问策略执行

Blockaid: Data Access Policy Enforcement for Web Applications

论文作者

Zhang, Wen, Sheng, Eric, Chang, Michael, Panda, Aurojit, Sagiv, Mooly, Shenker, Scott

论文摘要

现代Web应用程序提供大量敏感用户数据,访问通常受数据访问策略的约束。执行此类政策对于防止数据访问不当至关重要,并且先前的工作提出了许多执法机制。但是,这些先前的方法要么更改应用程序语义,要么需要采用新的编程模型;前者可能导致意外的应用程序行为,而后者不能与现有的Web框架一起使用。 BOCKAID是一种访问政策执法系统,可保留应用程序语义,并且与现有的Web框架兼容。它拦截了来自应用程序的数据库查询,试图验证每个查询是否符合策略,并阻止不符合策略的查询。它可以使用SMT求解器验证策略合规性,并概括并缓存以前的合规性决策,以提高性能。我们表明,BOCKAID支持现有的Web应用程序,同时需要最小的代码更改并仅添加适度的开销。

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. 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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源