CryptDB: A Practical Encrypted Relational DBMS
Raluca Ada Popa, Nickolai Zeldovich, Hari Balakrishnan · DSpace@MIT (Massachusetts Institute of Technology) · 2011
CryptDB is a DBMS that provides provable and practical privacy in the face of a compromised database server or curious database administrators. CryptDB works by executing SQL queries over encrypted data. At its core are three novel ideas: an SQL-aware encryption strategy that maps SQL operations to encryption schemes, adjustable query-based encryption which allows CryptDB to adjust the encryption level of each data item based on user queries, and onion encryption to efficiently change data encryption levels. CryptDB only empowers the server to execute queries that the users requested, and achieves maximum privacy given the mix of queries issued by the users. The database server fully evaluates queries on encrypted data and sends the result back to the client for final decryption; client machines do not perform any query processing and client-side applications run unchanged. Our evaluation shows that CryptDB has modest overhead: on the TPC-C benchmark on Postgres, CryptDB reduces throughput by 27% compared to regular Postgres. Importantly, CryptDB does not change the innards of existing DBMSs: we realized the implementation of CryptDB using client-side query rewriting/encrypting, user-defined functions, and server-side tables for public key information. As such, CryptDB is portable; porting CryptDB to MySQL required changing 86 lines of code, mostly at the connectivity layer.
Cited by 48 works. Open-access PDF
Authors
References
- Public-Key Cryptosystems Based on Composite Degree Residuosity Classes
- Fully homomorphic encryption using ideal lattices
- Practical techniques for searches on encrypted data
- Differential Privacy: A Survey of Results
- Privacy Preserving Data Mining
- Conjunctive, Subset, and Range Queries on Encrypted Data
- Privacy preserving association rule mining in vertically partitioned data
- Executing SQL over encrypted data in the database-service-provider model
- Privacy Preserving Keyword Searches on Remote Encrypted Data
- Non-interactive Verifiable Computing: Outsourcing Computation to Untrusted Workers