A Method for Protecting Private Data in IPFS
Yufei Lin, Chongyang Zhang
Abstract
IPFS is a distributed file system. Each node in the system works in a collaborative manner to implement decentralized file access. Anyone can share files through the system. However, there are some data privacy issues of the system during the sharing of file data. Therefore, we need to add the data access mechanism to alleviate data privacy issues in IPFS. In response to this problem, we propose a privacy protection method based on blockchain and improved IPFS. The method utilizes the blockchain to store file information and user permissions, and the improved IPFS can control file data sharing according to the user's permission. At the same time, we have extended the user group and file directory management functions based on smart contracts. Through this method, the user can centrally manage the shared users in the system and efficiently organize the file directory while realizing the protection of the private files.