Diesel
Authors:
Open Access
- 22 March 2011
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 416-422
Abstract
Database-backed applications typically grant complete database access to every part of the application. In this scenario, a flaw in one module can expose data that the module never uses for legitimate purposes. Drawing parallels to traditional privilege separation, we argue that database data should be subject to limitations such that each section of code receives access to only the data it needs. We call this data separation. Data separation defends against SQL-based errors including buggy queries and SQL injection attacks and facilitates code review, since a module's policy makes the extent of its database access explicit to programmers and code reviewers. We construct a system called Diesel, which implements data separation by intercepting database queries and applying modules' restrictions to the queries. We evaluate Diesel on three widely-used applications: Drupal, JForum, and WordPress.Keywords
Funding Information
- Division of Computer and Network Systems (CCF-0424422CNS-1018924)
- Division of Computing and Communication Foundations (CCF-0424422CNS-1018924)
This publication has 13 references indexed in Scilit:
- A formal framework for reflective database access control policies2008
- Improving multi-tier security using redundant authentication2007
- Using Automated Fix Generation to Secure SQL Statements2007
- AMNESIA2005
- Using parse tree validation to prevent SQL injection attacks2005
- Extending query rewriting techniques for fine-grained access control2004
- EROS1999
- Security in a secure capability-based systemACM SIGOPS Operating Systems Review, 1989
- An authorization mechanism for a relational database systemACM Transactions on Database Systems, 1976
- The protection of information in computer systemsProceedings of the IEEE, 1975