Achieve Efficient Position-Heap-based Privacy-Preserving Substring-of-Keyword Query over Cloud

Fan Yin, Rongxing Lu, Yandong Zheng, Jun Shao, Xue Yang, Xiaohu Tang

Abstract

As sensitive data increasingly migrates to cloud environments, the need for efficient and secure search capabilities becomes paramount. Traditional Symmetric Searchable Encryption (SSE) schemes often restrict users to exact keyword matches, failing to support the flexible substring queries common in modern search interfaces. This paper proposes a novel SSE scheme that leverages a Modified Position Heap (MPH) to enable privacy-preserving substring-of-keyword searches. By decoupling the search into a two-phase process—substring-to-keyword and keyword-to-file—the system achieves significant improvements in storage efficiency and query speed. Experimental results on the Wikivoyage dataset show that the proposed method is up to 60 times faster than suffix-array-based alternatives while maintaining a compact index size.

Introduction

The rapid adoption of cloud storage has necessitated robust privacy measures, typically implemented through Symmetric Searchable Encryption (SSE). While SSE allows users to search over encrypted data without revealing the underlying content to the cloud provider, most existing solutions are limited to exact keyword matching. In practice, users frequently require substring search capabilities, such as finding "apple" within "pineapple" or "applesauce."

Existing attempts to provide substring-of-keyword functionality often face a "trilemma" of efficiency: they suffer from slow query times, excessive storage overhead (especially with suffix trees), or difficulties in handling dynamic updates. This research addresses these challenges by introducing a more efficient data structure and a refined query protocol.

Methods

The core of the proposed system is the transition from traditional suffix-based structures to a more compact and dynamic alternative.

Modified Position Heap (MPH)

The authors utilize a Position Heap, a trie-like data structure known for its efficiency in substring matching. Unlike suffix trees, which can have large constant factors in storage, position heaps maintain a linear space complexity $O(m)$ while being significantly more compact in practice.

The researchers developed a Modified Position Heap (MPH) specifically for the encrypted domain. In this structure, edge labels (characters) are transformed into secure tokens using a Pseudo-Random Function (PRF). This allows the cloud server to traverse the tree to find matches without learning the actual characters. Furthermore, encrypted keywords are stored at the nodes to facilitate the retrieval process.

Construction of the Modified Position Heap (MPH) from a keyword dictionary.

Two-Phase Query Process

To optimize performance and user experience, the search process is decoupled into two distinct phases:

  1. Phase 1: Substring-to-Keyword Query: The user generates a secure query request $Q_\omega$ for a substring. The cloud server traverses the MPH and returns a set of candidate encrypted keywords $\mathcal{W}'$ that contain the substring.
  2. Phase 2: Keyword-to-File Query: The user decrypts the candidate keywords, selects the desired one, and issues a second request $Q_f$. The server then returns the specific set of encrypted files $\mathcal{F}'$ associated with that keyword.

This architecture mimics the "autocomplete" functionality of modern search engines, reducing the initial computational load on the server.

The two-phase query architecture between the data user and the cloud server.

Dynamic Updates and Security

The system supports dynamic file management through a "revocation list" mechanism. Instead of re-encrypting the entire index when a file is deleted, the system maintains a secondary encrypted heap to track revoked keywords, ensuring they are not returned in future searches. The scheme is proven to be $\mathcal{L}$-adaptively-secure, leaking only standard, minimal information such as search and access patterns.

Experimental Evaluation

The system was benchmarked using the Wikivoyage dataset, comprising 29,378 articles and a dictionary of 40,205 distinct keywords.

Key performance findings include:

  • Storage Efficiency: The MPH-based approach required significantly less storage space than traditional suffix-tree methods.
  • Query Performance: Query time is linear relative to the substring length and the number of matches ($O(|s| + d_s)$), and importantly, it is independent of the total dictionary size.
  • Comparative Speed: In tests involving 20 matching keywords, the proposed scheme outperformed suffix-array-based methods by approximately 60 times.
  • Scalability: Insertion time scales linearly with keyword length, making the system practical for large, evolving datasets.

Conclusion and Future Work

This paper demonstrates that position heaps offer a superior foundation for privacy-preserving substring searches in the cloud. By combining the MPH with a two-phase query protocol, the researchers achieved a high-performance system that balances security, speed, and storage.

Future research will focus on enhancing the security model to protect against active attackers and incorporating "forward and backward security" to further safeguard dynamic updates. Additionally, the authors plan to integrate source authentication to allow users to verify the integrity of the search results returned by the cloud.

Summary updated

BibTeX
@article{yin2021achieve,
  author = {Fan Yin and Rongxing Lu and Yandong Zheng and Jun Shao and Xue Yang and Xiaohu Tang},
  title = {{Achieve Efficient Position-Heap-based Privacy-Preserving Substring-of-Keyword Query over Cloud}},
  journal = {Comput. Secur.},
  year = {2021},
  doi = {10.1016/j.cose.2021.102432},
}
Figure