A Cryptographic Blockchain-IPFS Framework for Secure Distributed Database Storage and Access Control
Abstract
This research explores the distributed database security storage and access control scheme based on IPFS and blockchain for the privacy issues such as sensitive data leakage and account security under the rapid development of Internet technology. The research background focuses on the contradictory status quo of data value enhancement and black-market data trading in the fields of intelligent medical care and unmanned driving, etc. Although the existing database security technology has made progress in encryption algorithms, dynamic protection, etc., it is still faced with the challenges of performance bottleneck and fine-grained access control of centralized architecture. The research aims to integrate the advantages of IPFS distributed storage and the tamper-proof characteristics of blockchain to construct a new type of secure storage system. Through theoretical analysis of IPFS peer-to-peer file system architecture, blockchain six-layer model (data layer, network layer, consensus layer, etc.) and AES/SM4 encryption algorithms, a system solution integrating blockchain smart contract and IPFS storage is designed: SM4 encrypts the original data and then stores it in IPFS, and achieves traceability through the blockchain record hash, and introduces the proxy re-encryption based on the identity technology to Realize dynamic access control. Experiments comparing the performance of MongoDB and IPFS show that in 5000 transactions, the delay of IPFS mode 12 nodes is reduced by 1.71 times compared with 6 nodes, which is significantly better than that of MongoDB's by 1.22 times; in the throughput test, IPFS increases linearly with the increase of nodes, while MongoDB decreases after the peak value. The study confirms that the combination of IPFS and blockchain can effectively reduce transaction latency by 31%, improve throughput by 30%, and safeguard the security of the whole data lifecycle through cryptographic technology. The results provide a decentralized security framework for distributed databases, with both theoretical innovation and engineering application value, which is of great practical significance for highly sensitive data fields such as healthcare and finance.
Full Text:
PDFDOI: https://doi.org/10.31449/inf.v49i30.8271

This work is licensed under a Creative Commons Attribution 3.0 License.