How to prevent third party to seeing the data on same channel in Hyperledger Fabric?

為{幸葍}努か 提交于 2019-12-24 20:54:32

问题


So basically in Hyperledger Fabric the third party information provider have to be a part of the channel and once they become the part of the channel they get to see all the information on the channel which can be data security breach. Is there a way we can prevent them seeing the whole data but still give us the required information. example - Market data provider for a trading system when two banks are trading each other do they need to share that trade information with the market data provider or they can just get the prices from the market data provider without sharing that trade information and Corda is achieving this through oracle so is that something similar on hyper ledger fabric.


回答1:


@Rahul Singh

You can use private data concept

Earlier it was people use to create multiple channels but now private data concept

one channel you can control data between members

All you have to do is create collections

Read from here

Doc: https://hyperledger-fabric.readthedocs.io/en/release-1.4/private_data_tutorial.html

Chaincode: https://github.com/hyperledger/fabric-samples/tree/release-1.4/chaincode/marbles02_private

Node-sdk: https://fabric-sdk-node.github.io/tutorial-private-data.html



来源:https://stackoverflow.com/questions/57864334/how-to-prevent-third-party-to-seeing-the-data-on-same-channel-in-hyperledger-fab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!