Hyperledger Explorer:如何防止参与者访问交易历史记录 [英] Hyperledger Explorer: how to prevent participants from accessing transaction history

查看:95
本文介绍了Hyperledger Explorer:如何防止参与者访问交易历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Hyperledger-Fabric应用程序(由Hyperledger Composer开发)中,我希望阻止参与者查看旧事务.

In my Hyperledger-Fabric application (developed with Hyperledger Composer), I want to prevent participants from being able to look at the old transactions.

可以在Hyperledger Composer Historian或Hyperledger Explorer中查看旧交易.

Old transactions can be viewed either in the Hyperledger Composer Historian or in the Hyperledger Explorer.

在Hyperledger Composer Historian的情况下,我知道如何使参与者不可见旧事务(即在Permissions.acl文件中).但是,只要参与者可以在Hyperledger Explorer中查看交易历史记录,就可以阻止参与者查看Hyperledger Composer Historian中的旧交易.

I know how to make old transactions non-visible to participants in the case of Hyperledger Composer Historian (namely in the file permissions.acl). But preventing participants from looking at old transactions in the Hyperledger Composer Historian is not of any use, as long as they can instead view the transaction history in the Hyperledger Explorer.

所以我的问题是这样的:在Hyperledger Explorer中,如何使交易历史对参与者不可见?

So my question is this: how can I make the transaction history non-visible to participants in the case of the Hyperledger Explorer?

更新:

一个组织完全有可能在网络的其他成员不知情的情况下使用Hyperledger Explorer吗?

Is it possible at all for an organisation to use Hyperledger Explorer without the knowledge of other members of the network?

如果一个成员在没有其他成员允许的情况下无法在网络上使用Hyperledger Explorer,则问题仍然存在.

If it is not possible for one member to use Hyperledger Explorer on the network without the other members allowing it, then the problem is gone anyway.

推荐答案

您不能使参与者无法访问他们已经看到的数据,因此也不能使交易历史从渠道成员本地对等方消失.

You can't make participants not being able to access data they have already seen, thus you can't make transaction history disappear from the channel members local peers.

我知道如何使旧交易对参与者不可见 Hyperledger Composer Historian的案例(即在文件中 权限.acl).

I know how to make old transactions non-visible to participants in the case of Hyperledger Composer Historian (namely in the file permissions.acl).

即使您在应用程序层中定义了客户端的访问控制,也是如此:

Even if you define access control for clients in the application layer:

  • 该频道中的所有对等方仍然可以看到交易
  • 每个有权从同级或订购者中提取区块的客户端,仍然可以通过自身提取交易来查看交易.

但阻止参与者查看交易中的旧交易 Hyperledger Composer Historian没有任何用处,只要他们可以 而是在Hyperledger Explorer中查看交易历史记录.

But preventing participants from looking at old transactions in the Hyperledger Composer Historian is not of any use, as long as they can instead view the transaction history in the Hyperledger Explorer.

这样的事实应该在任何人的脑海中引起怀疑,并使他/她想知道对于可以访问区块链本身的人而言,隐藏是否有任何用处.

Such a fact should instill doubt in the mind of anyone, and make him/her wonder whether the hiding is of any use, to someone that has access to the blockchain itself.

这篇关于Hyperledger Explorer:如何防止参与者访问交易历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆