Precise, dynamic information flow for database-backed applications
Author(s)Yang, Jean; Hance, Travis; Austin, Thomas H.; Flanagan, Cormac; Chong, Stephen; Solar Lezama, Armando; ... Show more Show less
MetadataShow full item record
We present an approach for dynamic information flow control across the application and database. Our approach reduces the amount of policy code required, yields formal guarantees across the application and database, works with existing relational database implementations, and scales for realistic applications. In this paper, we present a programming model that factors out information flow policies from application code and database queries, a dynamic semantics for the underlying $^JDB$ core language, and proofs of termination-insensitive non-interference and policy compliance for the semantics. We implement these ideas in Jacqueline, a Python web framework, and demonstrate feasibility through three application case studies: a course manager, a health record system, and a conference management system used to run an academic workshop. We show that in comparison to traditional applications with hand-coded policy checks, Jacqueline applications have 1) a smaller trusted computing base, 2) fewer lines of policy code, and 2) reasonable, often negligible, additional overheads. Keywords: Web frameworks, information flow
DepartmentMassachusetts Institute of Technology. Department of Electrical Engineering and Computer Science
Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation - PLDI 2016
Association for Computing Machinery
Yang, Jean, et al. Precise, "Dynamic Information Flow for Database-Backed Applications." Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation, 13-17 June 2016, Santa Barbara, CA, ACM Press, 2016, pp. 631–47.