This paper presents CloudS, a multi-cloud storage system designed to move beyond the "all-or-nothing" security approach of traditional cloud storage. By introducing a new family of XOR-based erasure codes and a deduplication-friendly dispersal algorithm, the authors provide a system that balances high-level data privacy with the performance needs of modern web applications.
TL;DR
CloudS is a multi-cloud storage framework that utilizes a novel class of XOR-based "Privacy Protecting Codes" (PPC) to ensure data remains unreadable even if a cloud provider is breached. It introduces a tiered security model and a parallelizable dispersal algorithm (HCE-PPC) that supports data deduplication while outperforming standard industry methods like AONT-RS.
What Problem Does This Paper Address?
While cloud storage is ubiquitous, relying on a single provider creates a single point of failure for both availability and privacy (notably highlighted by high-profile leaks like the 2014 iCloud incident).
Existing "multi-cloud" solutions spread data across multiple providers using erasure codes, but they face three main hurdles:
- Security vs. Complexity: Standard Reed-Solomon (RS) codes are computationally expensive. "Systematic" versions (where some chunks are stored as plain text) are faster but leak data if one server is compromised.
- Deduplication: Many secure dispersal algorithms use random keys, which makes it impossible for cloud providers to identify and remove duplicate files (deduplication), wasting expensive storage.
- Rigidity: Most systems apply the same heavy security protocols to every file, regardless of whether it's a sensitive legal document or a public image, leading to unnecessary performance lag.
Methods
The authors propose three core technical contributions:
- Privacy Protecting Codes (PPC): These are non-systematic, XOR-based erasure codes. Unlike standard codes, PPC ensures that no original data chunks are stored plainly. Every chunk sent to a cloud is an XOR-sum of multiple original chunks. This provides a "privacy degree" ($t$), meaning an attacker must compromise more than $t$ servers to reconstruct even a single byte of data.
- Hash Cyclic Encryption (HCE-PPC): To support deduplication without sacrificing security, the authors use a "chunk-level hash key." Each data chunk is encrypted using its own hash. To prevent the "key" from being stored with the "lock," the hashes are stored circularly (e.g., the hash for chunk $i$ is appended to chunk $i+3$). This allows for high concurrency and parallelization.
- SIMD Optimization: The encoding process is optimized using Single Instruction Multiple Data (SIMD/SSE) instructions, allowing the CPU to perform XOR operations on large blocks of data simultaneously.
- Multi-Level Security Tiers: CloudS offers different combinations of compression (GZip), encryption (AES-256), and coding (PPC) so users can choose the right trade-off for their specific data.
Datasets
The authors evaluated the system using randomly generated test files ranging from 1MB to 128MB. These were used to benchmark:
- Encoding/decoding latency.
- The impact of SIMD optimizations.
- End-to-end upload/download performance across a simulated multi-cloud environment (using Vdisk accounts).
Key Insights and Ideas
- XOR is King for Performance: By sticking to $GF(2)$ (simple XOR operations) rather than the complex finite field arithmetic ($GF(2^8)$) required by Reed-Solomon codes, the system achieves much higher throughput.
- Non-Systematic for Privacy: By ensuring that every stored chunk is a mixture of original data, the system provides "approximate security" similar to All-Or-Nothing Transform (AONT) but with much lower computational overhead.
- The Circular Key Trick: Storing a chunk's key in a different chunk's metadata is a clever way to enable deduplication (since the encrypted chunk is deterministic based on its content) while ensuring an attacker needs multiple chunks to decrypt anything.
Key Results
- Significant Speedups: PPC encoding is significantly faster than RS codes. Furthermore, the SIMD (SSE) optimization provided a 6x–7x performance improvement over the baseline PPC implementation.
- Efficiency: The optimized PPC schedule reduced the number of XOR operations required to encode a stripe from 15 down to 11.
- Superior to AONT-RS: In end-to-end system tests, the HCE-PPC scheme consistently outperformed the industry-standard AONT-RS in both upload and download speeds across all tested file sizes.
- Brute-Force Resistance: The authors calculate that because 5 different coding chunks are required to crack a 256-bit key in their HCE-PPC implementation, it would take roughly $10^{35}$ years to guess a key even with massive distributed computing power.
Limitations and Future Work
- Fault Tolerance: The current PPC family is designed for single-fault tolerance (protecting against one node failure). The authors note that extending this to "double-fault" resistance (protecting against two simultaneous node failures) is a primary goal for future research.
- Network Variables: The system performance is still heavily dependent on external network conditions and the compression ratios of different file types, which the authors acknowledge as "uncontrolled exterior factors."
- Metadata Management: While the paper focuses on data chunks, the security and availability of the metadata manager itself (which tracks where chunks are stored) is a critical component that could be further explored.
Summary updated