Secure Data Processing in a Hybrid Cloud

Vaibhav Khadilkar, Murat Kantarcioglu, Bhavani Thuraisingham, Sharad MehrotraarXiv 2011

Abstract

Cloud computing has made it possible for a user to be able to select a computing service precisely when needed. However, certain factors such as security of data and regulatory issues will impact a user's choice of using such a service. A solution to these problems is the use of a hybrid cloud that combines a user's local computing capabilities (for mission- or organization-critical tasks) with a public cloud (for less influential tasks). We foresee three challenges that must be overcome before the adoption of a hybrid cloud approach: 1) data design: How to partition relations in a hybrid cloud? 2) data security: How to protect a user's data in a public cloud with encryption while enabling query processing over this encrypted data? and 3) query processing: How to execute queries efficiently over both, encrypted and unencrypted data? This paper addresses these challenges and incorporates their solutions into an add-on tool for a Hadoop and Hive based cloud computing infrastructure.

Introduction

Cloud computing offers massive scalability, but many organizations hesitate to move sensitive data to the public cloud due to security risks and regulatory requirements. While "Fully Homomorphic Encryption" (FHE) theoretically allows processing data without ever decrypting it, it remains computationally prohibitive for large-scale datasets. The authors tackle the "Hybrid Cloud" middle ground: splitting a database between a secure (but resource-constrained) private cloud and a powerful (but untrusted) public cloud.

System Architecture

The researchers built an add-on tool for the Hadoop and Hive ecosystem. The architecture consists of several layers that manage data from ingestion to query execution. The User Interface Layer handles incoming relations and queries, which are then processed by the Data Design Layer to determine optimal partitioning. Sensitive data is either encrypted or mapped into buckets before being stored in the public cloud, while non-sensitive data can be stored directly.

The proposed hybrid cloud architecture for secure data processing.

Data Design and Security

Their approach relies on several key novel components:

  • Vertical Partitioning: Instead of splitting rows, they split columns (attributes). Sensitive columns are encrypted and sent to the public cloud, while others might stay local or go to the cloud unencrypted.
  • Bucket-based Encryption: To allow the public cloud to process queries on encrypted data without decrypting it, they use a mapping technique. Values are assigned to "buckets" (partitions), and the public cloud operates on these bucket IDs. This allows for equality and range selections with minimal local post-processing.
  • The CSS Problem: They define the Cloud-Subset-Selection (CSS) problem—an optimization challenge to minimize query execution cost while staying within the storage limits of the private cloud. They prove this problem is NP-complete and propose two algorithms: CSS-DP (Dynamic Programming) and CSS-HC (Hill-Climbing).

Query Processing Workflow

Executing a single SQL query across a hybrid environment requires a multi-stage transformation process. The system takes an original query plan and rearranges it to separate operations that can be performed on the public cloud from those that must be handled privately.

The four stages of query transformation: from the original plan to post-processing of results.

As shown in the figure above, the process involves:

  1. Original Query Plan: The standard logical plan.
  2. Query Rearrangement: Optimizing the plan for a hybrid split.
  3. Public and Private Cloud Execution: Sub-queries ($q^{pu}$ and $q^{pr}$) are executed in their respective environments. The public cloud works on mapped/encrypted data.
  4. Post-processing: The private cloud merges results, performs final decryptions, and filters out any "false positives" generated by the bucket-based mapping.

Key Results

The system was evaluated using the TPC-H benchmark with a scale factor of 300 (~323GB). Key findings include:

  • Algorithm Performance: The CSS-DP algorithm consistently outperformed the Hill Climbing approach, finding near-optimal data distributions that significantly reduced total query workload time.
  • Security-Performance Tradeoff: The number of partitions ($P$) used in the encryption mapping acts as a dial. Fewer partitions mean better privacy but slower queries due to more local filtering. As $P$ increases, the public cloud's processing time drops because it can filter data more precisely.
  • Cost Modeling: The authors' cost model accurately predicted the most efficient way to split queries, accounting for local processing, network transfer, and decryption overhead.

Limitations and Future Work

While effective, the current framework focuses exclusively on vertical partitioning. Future research is needed to explore horizontal or hybrid partitioning schemes. Additionally, the system currently supports simple SQL queries; extending support to nested queries and more complex joins is a priority. Finally, the optimization assumes a static workload, whereas real-world environments may require dynamic re-partitioning as query patterns evolve.

Summary updated

BibTeX
@misc{khadilkar2011secure,
  author = {Vaibhav Khadilkar and Murat Kantarcioglu and Bhavani Thuraisingham and Sharad Mehrotra},
  title = {{Secure Data Processing in a Hybrid Cloud}},
  year = {2011},
  eprint = {1105.1982},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1105.1982},
}
Figure