GDPR-Compliant Personal Data Management: A Blockchain-based Solution

Nguyen Binh Truong, Kai Sun, Gyu Myoung Lee, Yike Guo

Abstract

The General Data Protection Regulation (GDPR) gives control of personal data back to the owners by appointing higher requirements and obligations on service providers who manage and process personal data. As the verification of GDPR-compliance, handled by a supervisory authority, is irregularly conducted; it is challenging to be certified that a service provider has been continuously adhering to the GDPR. Furthermore, it is beyond the data owner's capability to perceive whether a service provider complies with the GDPR and effectively protects her personal data. This motivates us to envision a design concept for developing a GDPR-compliant personal data management platform leveraging the emerging blockchain and smart contract technologies. The goals of the platform are to provide decentralised mechanisms to both service providers and data owners for processing personal data; meanwhile, empower data provenance and transparency by leveraging advanced features of the blockchain technology. The platform enables data owners to impose data usage consent, ensures only designated parties can process personal data, and logs all data activities in an immutable distributed ledger using smart contract and cryptography techniques. By honestly participating in the platform, a service provider can be endorsed by the blockchain network that it is fully GDPR-compliant; otherwise, any violation is immutably recorded and is easily figured out by associated parties. We then demonstrate the feasibility and efficiency of the proposed design concept by developing a profile management platform implemented on top of the Hyperledger Fabric permissioned blockchain framework, following by valuable analysis and discussion.

Introduction

Since the GDPR went into effect in 2018, organizations have struggled with two major issues: transparency and accountability. Current data management relies on a centralized "client-server" architecture, often utilizing protocols like OAuth2. In this model, the Data Subject (user) must blindly trust the Data Controller (Service Provider) to handle their data correctly. There is no easy way for a user to verify how their data is being processed, and it is equally difficult for a provider to prove to regulators that they have been continuously compliant. Centralized systems are fundamentally ill-equipped to handle the "right to be forgotten" and the "right to access" in a verifiable, auditable way.

Proposed System Architecture

The proposed system moves the logic of data management—authentication, authorization, and logging—onto a blockchain, while keeping the actual sensitive data in traditional off-chain databases. This decoupling is essential: storing raw personal data directly on a blockchain is a privacy risk and a scalability bottleneck. By only storing metadata and access logs on-chain, the system remains performant while maintaining privacy.

High-level architecture of the blockchain-based personal data management platform showing interactions between entities and the blockchain.

Key technical components include:

  • Hyperledger Fabric (HLF): A permissioned blockchain framework chosen for its business-oriented architecture and support for private channels.
  • Complex Identity (c-ID): A novel identity structure that uses asymmetric cryptography to link the Data Subject, the Data Controller, and the specific data pointer.
  • Dual-Ledger System:
    • 3A_ledger: Handles Authentication, Authorization, and Access control. It stores data usage policies and encrypted pointers to the data.
  • log_ledger: An immutable record of every data activity (who, what, when, why, and how).

Data Access and Smart Contract Operations

Smart contracts (chaincode) automate critical functions such as "GrantConsent," "RevokeConsent," and "DataAccess." This ensures that no party can access data without a valid, on-chain token. The blockchain acts as a delegated, decentralized version of an OAuth2 server, issuing "proof of permission" tokens that the storage server must validate before releasing data.

Sequence diagram illustrating the personal data access flow and token validation process.

To satisfy the GDPR's "Right to be Forgotten" on an immutable blockchain, the system stores data off-chain and "deletes" it by destroying the decryption keys for the on-chain pointers. Because every access request is logged via a smart contract, a supervisory authority can audit an organization's compliance instantly by querying the log_ledger.

Implementation and Evaluation

The authors implemented a functional use-case involving a social networking profile management system based on the Friend-of-a-Friend (FOAF) ontology. Off-chain data was stored in MongoDB, while the blockchain world-state was managed in CouchDB. Performance was evaluated using Hyperledger Caliper.

  • Throughput: READ operations (checking policies) reached a peak of ~492 transactions per second (tps), while WRITE operations (updating consents) peaked at ~167 tps.
  • Latency: At workloads under 500 tps, latency remained under 1 second. However, at 1,000 tps, success rates dropped to ~30% and latency spiked to over 6 seconds.
  • Scalability: Increasing the number of peer nodes from 4 to 32 significantly increased latency (up to 95 seconds for writes) due to consensus overhead.

Discussion and Future Work

While the system provides a robust framework for GDPR compliance, it currently assumes the Resource Server is "honest-but-curious." A truly malicious provider could theoretically bypass the blockchain gatekeeper. Future work involves exploring Multi-Party Computation (MPC) to allow processing without seeing raw data and testing the framework on public blockchains like Ethereum using decentralized storage like IPFS.

Summary updated

Abstract

The General Data Protection Regulation (GDPR) gives control of personal data back to the owners by appointing higher requirements and obligations on service providers who manage and process personal data. As the verification of GDPR-compliance, handled by a supervisory authority, is irregularly conducted; it is challenging to be certified that a service provider has been continuously adhering to the GDPR. Furthermore, it is beyond the data owner's capability to perceive whether a service provider complies with the GDPR and effectively protects her personal data. This motivates us to envision a design concept for developing a GDPR-compliant personal data management platform leveraging the emerging blockchain and smart contract technologies. The goals of the platform are to provide decentralised mechanisms to both service providers and data owners for processing personal data; meanwhile, empower data provenance and transparency by leveraging advanced features of the blockchain technology. The platform enables data owners to impose data usage consent, ensures only designated parties can process personal data, and logs all data activities in an immutable distributed ledger using smart contract and cryptography techniques. By honestly participating in the platform, a service provider can be endorsed by the blockchain network that it is fully GDPR-compliant; otherwise, any violation is immutably recorded and is easily figured out by associated parties. We then demonstrate the feasibility and efficiency of the proposed design concept by developing a profile management platform implemented on top of the Hyperledger Fabric permissioned blockchain framework, following by valuable analysis and discussion.
BibTeX
@article{truong2020gdpr,
  author = {Nguyen Binh Truong and Kai Sun and Gyu Myoung Lee and Yike Guo},
  title = {{GDPR-Compliant Personal Data Management: A Blockchain-based Solution}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2020},
  url = {https://openreview.net/forum?id=4jpoXcx3vi},
}
Figure