本文介绍了在Hyperledger Fabric中管理隐私的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用例,其中我有2个组织,他们共享一些数据,并且某些数据保持私有.现在过了几年,我需要共享更多数据或限制来自组织的数据或限制来自组织的数据. Hyperledger Fabric是否有可能?如果可以,请告诉我.我可以看到Hyperledger架构中存在私有数据,但是问题是,在不允许该组织的情况下输入的数据在允许该组织后将不再可用于同一组织.

I have use case where I have 2 organizations and they are sharing some data and some data is kept private. Now after couple of years, I have a requirement to share some more data or restrict some data from/to organization. Is it possible in Hyperledger Fabric? If yes please let me know how. I can see there is private data in Hyperledger fabric but the issue is that the data entered while org was not allowed to have that data will never be available for that same org after allowing that org.

如果您有任何想法,请告诉我.

If you have any idea please let me know.

谢谢

推荐答案

在Hyperledger Fabric v1.2中,可以在链码升级时更新私有数据集合配置定义或添加新集合.更新的配置从升级事务提交以来就开始应用.新添加的组织将收到用于后续收款交易的私人数据.

In Hyperledger Fabric v1.2 it is possible to update a private data collection configuration definition or add a new collection at chaincode upgrade time. The updated configuration applies from the time the upgrade transaction is committed onwards. Newly added organizations will receive private data for subsequent collection transactions.

在Hyperledger Fabric的未来版本中,打算添加一个选项,该选项允许新添加的组织为它们现在有权使用的集合提取(协调)先前的私有数据.

In future versions of Hyperledger Fabric, there is intent to add an option that allows newly added organizations to pull (reconcile) prior private data for the collections that they are now entitled to.

这篇关于在Hyperledger Fabric中管理隐私的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-15 00:04