Scooter & Sidecar: A domain-specific approach to writing secure database migrations

1Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Web applications often handle large amounts of sensitive user data. Modern secure web frameworks protect this data by (1) using declarative languages to specify security policies alongside database schemas and (2) automatically enforcing these policies at runtime. Unfortunately, these frameworks do not handle the very common situation in which the schemas or the policies need to evolve over time-and updates to schemas and policies need to be performed in a carefully coordinated way. Mistakes during schema or policy migrations can unintentionally leak sensitive data or introduce privilege escalation bugs. In this work, we present a domain-specific language (Scooter) for expressing schema and policy migrations, and an associated SMT-based verifier (Sidecar) which ensures that migrations are secure as the application evolves. We describe the design of Scooter and Sidecar and show that our framework can be used to express realistic schemas, policies, and migrations, without giving up on runtime or verification performance.

Cite

CITATION STYLE

APA

Renner, J., Sanchez-Stern, A., Brown, F., Lerner, S., & Stefan, D. (2021). Scooter & Sidecar: A domain-specific approach to writing secure database migrations. In Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) (pp. 710–724). Association for Computing Machinery. https://doi.org/10.1145/3453483.3454072

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free