This project is a decentralized digital solution that empowers users to securely control and manage
their personal data, documents, files, and pictures without dependence on centralized intermediaries.
Decentralized solutions provide greater control and security over personal data. A decentralized storage network, built on blockchain technology
, allows for secure and decentralized storage and management of data without a centralized intermediary.
Generate a content-based unique identifier (CID) for a file using IPFS libraries such as ipfs-api or ipfs-http-client.
Store the generated CID in a smart contract on a blockchain like Ethereum, which can contain a mapping between the user's address and their corresponding CID to track access.
The smart contract can have functions to grant or revoke access to the CID by verifying the user's authorization to access it.
The smart contract can also have functions to allow users to temporarily share their CID with others by granting them access for verification purposes.
Ensure secure coding practices, such as input validation and error handling, to prevent attacks like buffer overflows or injection attacks. Use external security tools to identify potential vulnerabilities in the smart contract.
- Secure and decentralized storage of files using
IPFS
,Ethereum blockchain
andTezos
- User-friendly interface for uploading and downloading files
- High level of security and decentralization
- Specify access control for files and revoke access at any time
- Alternative to traditional database file storage systems.
To install the application, follow these steps:
Clone
the repository- Install the required dependencies
npm i
- Run the application
npm run dev
To use the application, follow these steps:
- Upload a file to the system using the user-friendly interface
- The file is encrypted, split into small pieces, and distributed across the network for secure and decentralized storage
- Specify access control for the file and revoke access at any time
- Download files by requesting the file hash through the frontend, which retrieves the metadata from the Ethereum smart contract and uses the IPFS hash to retrieve the file data from IPFS.
Link-> https://www.youtube.com/embed/DYUjfQajAhY
This project is created by The Hack Squad
:
This project is licensed under the MIT License.