Metadata Management in Outsourced Encrypted Databases

Ernesto Damiani, Sabrina De Capitani di Vimercati, Sara Foresti, Sushil Jajodia, Stefano Paraboschi, Pierangela SamaratiSecure Data Management 2005

TL;DR

This paper tackles the challenge of managing metadata for outsourced, encrypted databases, focusing on enabling selective access control for different users. They propose a system that uses a user hierarchy and cryptographic techniques to ensure that users can only access the data they are authorized to, even when the database is stored on an untrusted server.

What Problem Does This Paper Address?

The increasing trend of "database-as-a-service" (DAS) involves storing sensitive data on external, untrusted servers. While encryption protects data confidentiality, it complicates querying and, crucially, implementing fine-grained access control. Traditional access control mechanisms require the data owner to intercept and filter every query and response, creating a bottleneck. This paper addresses the need for efficient and secure selective access to outsourced encrypted data, ensuring users only see what they're permitted to, without overwhelming the data owner.

Methods

The core of the paper lies in its metadata management strategy for enabling selective access. They introduce a user hierarchy (defined as a partially ordered set of user groups where subset implies greater access rights) and a user tree hierarchy derived from it. This hierarchy is used to assign unique encryption keys to different subsets of users.

Key techniques include:

  • Tuple-level encryption: Each tuple is encrypted with a key specific to the set of users authorized to access it.
  • Key derivation: Instead of managing individual keys for every user-tuple combination, a hierarchical key derivation scheme is employed. Users only need to know a few base keys, from which they can derive others based on their position in the user hierarchy.
  • Metadata storage strategies: The paper explores three strategies for storing this crucial metadata: client-side, server-side, and a hybrid approach. Each has trade-offs in terms of storage, bandwidth, and client memory usage.
  • Query transformation: Client queries are transformed into queries on the encrypted database, which the server can execute. The results are then post-processed by the client to decrypt and filter data based on user privileges.

Datasets

Not discussed in the paper. The paper uses a hypothetical Patients relation as an example throughout.

Key Insights and Ideas

  • Metadata is paramount: The paper strongly emphasizes that effective metadata management is the linchpin for making outsourced encrypted databases usable, especially for access control.
  • User hierarchy as a foundation for access control: Organizing users into a hierarchy based on their access privileges provides a structured way to manage encryption keys and enforce selective data release.
  • Key derivation simplifies key management: Moving from individual keys to a derivation scheme significantly reduces the complexity and number of keys that need to be managed and distributed.
  • Trade-offs in metadata storage: There's no one-size-fits-all solution for storing metadata; the optimal strategy depends on the specific constraints of the client and server environments (storage vs. bandwidth).
  • Client-side post-processing is necessary: Even with encrypted data, the client must perform decryption and filtering to enforce access control, as the server cannot be fully trusted.

Key Results

The paper presents a conceptual framework and detailed metadata structures for managing access control in outsourced encrypted databases. While not presenting quantitative performance results, it outlines:

  • A clear methodology for transforming plaintext queries into encrypted queries.
  • Detailed relational schemas for authorization, descriptive, and key management metadata.
  • An algorithm for computing key derivation paths.
  • An example demonstrating how a user's query is processed and filtered based on their access privileges.

Limitations and Future Work

  • Inference attacks: The paper acknowledges that even with selective encryption, inference attacks (where users can deduce sensitive information from seemingly innocuous data) remain a concern. They suggest hash functions for index values as a mitigation strategy.
  • Implementation and evaluation: The authors highlight the need for an effective implementation of the proposed metadata storage solutions to evaluate the trade-offs between storage and bandwidth consumption.
  • Dynamic access rights: Strategies for addressing dynamic updates of access rights are identified as an area for future investigation.
  • Complex queries: While the paper focuses on selection-project expressions, it notes that more complex queries (like range queries) can be supported with appropriate indexing techniques, but details are beyond the scope.

Summary updated

BibTeX
@inproceedings{damiani2005metadata,
  author = {Ernesto Damiani and Sabrina De Capitani di Vimercati and Sara Foresti and Sushil Jajodia and Stefano Paraboschi and Pierangela Samarati},
  title = {{Metadata Management in Outsourced Encrypted Databases}},
  booktitle = {Secure Data Management},
  year = {2005},
  doi = {10.1007/11552338\_2},
}
Figure