Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 24

NADAR SARASWATHI COLLEGE OF ENGINEERING AND TECHNOLOGY

Team Members:

● Dinesh R (921018104007)
● Gowtham Neelambaram H
(921018104011)
● Ponnarasu P(921018104028)
● Satheesh M (921018104046)

Project Guide:

Mr.C.Prathap M.Tech, (PhD) COMPUTER SCIENCE AND


ENGINEERING DEPARTMENT 1
PROJECT TITLE

Hyper Media Protocol For File Sharing In Peer Network

2
ABSTRACT

● The aim is to create a blockchain based


decentralized file sharing system where the users'
files will be encrypted and stored in a distributed
fashion over a peer to peer network. The file
could only be accessed by the person it was
intended for through asymmetric encryption.

3
WORK DONE
● Create a Main server and Client server.

Frond End:
1.Create Index page,Upload Page And Download Page.
Back End :
1.Connect the blockchain into the Every uploading Files
using Python 3.

● Web Frame Work Done With Flask.

● Done To Build an Server.


BLOCKCHAIN STRUCTURE
SYSTEM ARCHITECTURE
Nonce to uniquely
represent a block
SHA-256 hash of
the Block 2

Data stored
in the
blockchain

Hash of the shared file


generated by IPFS using
AES Encryption and
SHA256 hashing
algorithm
Blockchain with three blocks cryptographically
linked together

Blocks are linked together


cryptographically using
the SHA-256 hashes of the
previous blocks

Genesis Block
ALGORITHM
● SHA-256 Hashing Algorithm -> We use the SHA-256 algorithm to generate a unique hash
of the entire block that is used by the corresponding blocks to form the chain.

● The SHA-256 hashing algorithm is employed because of the following advantages: One-
way Once the hash is generated, we can’t revert to the original data from the hash.
Deterministic:- For a particular input, the hash generated, always remains the same.

● AES Encryption -> AES Encryption is a form of symmetric, cryptographic encryption that
depends on a shared key between the sender and receiver to access any file (here the file
key).

●  If we had not employed the AES encryption, any connected user to the blockchain can
access the file hash and thus, the shared file using the hash, directly from the IPFS.

● Using the AES Encryption, we encrypt the file using the file key of the uploader. 
List Of Modules

• Data Sharing

• Data Retrieval

• Dispute Handling

• IPFS Storage Contract


Modules Description
DATA SHARING
• Once the file is uploaded to IPFS, hashes of that data are generated by IPFS and returned back to
the owner.
• worker nodes are generated and their public–private key pair is stored in smart contracts.

• who are responsible for providing decryption services to customers. Only that worker can provide
the services, who is selected by the owner.

DATA RETRIEVAL
• A detailed system model for customer requesting the digital content is a customer first checks the
existing review of data by previous customers.
• so that quality of data can be properly verified before depositing the ethers.
Data Sharing: Data Retieval:
Modules Description
DISPUTE HANDLING
• Data is stored on IPFS nodes, so it may get altered while being stored on network nodes.

• When a customer downloads the digital content from IPFS server using hashes, there could be a
possibility that customer may get faulty or incomplete data.

IPFS STORAGE
• when a new file is uploaded to IPFS server, which returns IPFS hash to owner and it gets stored in
the smart contract.

• The uploaded content is only requested by valid requestor except those, who are blacklisted by the
owner.
Dispute Handling: IPFS Storage:
SCREENSHOTS
Tools Used
● Platform : Visual Studio Code

● Web Framework : Flask

● Front - end : HTML5 , CSS ,

BOOTSTRAP 3

● Back - end : Python 3


Existing System

● Many users Will store the files in the cloud and share with other
users but the information in the cloud is not encrypted.

● In this project we can encrypt the user’s upload files and we can
also generate a security key.

● He can Access the file . In this project there is only one module.
Proposed Outcome

● Based on the survey it was identified that secure file storage and
sharing would not only require confidentiality but also
authentication and integrity.

● To overcome these drawbacks a architecture is proposed which


tries to provide a complete solution for securely sharing the files.

● Upcoming This Project Is Fully Secure Data File Sharing System


Can Be created Using Blockchain And Network Security.

22
CONCLUSION
● Blockchain can be set up to operate in a variety of ways, using different mechanisms to
secure a consensus on transactions, seen only by authorized users.
● Blockchain depends on scalability and does not work well if the file size is too big, but
when combined with IPFS, it could overcome this disadvantage and help redefine the
way we interact with information and identity.
● Blockchain holds enormous potential in the future. This technology will not only save
your time and money but it will revolutionize many industries.

PAGE: 23
FUTURE SCOPE

● Data Share currently runs on a local network but it can be made to function on
any public network with web hosting, thereby making it more scalable.
● Upon proper exploration, blockchain could prove to be a boon for leading
industries like digital advertising, cybersecurity, supply chain management,
networking and forecasting.

You might also like