0

我已经在 IPFS 上存储了声音文件,并且 IPFS 哈希连接到 ERC721 令牌。我想让“只有令牌持有者可以访问数据”。但不幸的是,区块链和 ipfs 上的数据是公开的,所以每个人都可以访问。

有没有办法让只有令牌持有者才能访问 ipfs 数据?

我的解决方案不起作用... - 将加密数据存储在 IPFS 上并将密钥存储在 ERC721 令牌上。(如果将密钥设置为公开,每个人都可以看到它,如果将密钥设置为私有,包括令牌持有者在内的任何人都无法看到它)

如果您有任何建议或解决方案,请指导我!

这是我的产品图片。我想让这个健全的令牌数据只对令牌所有者可用。 https://medium.com/coinmonks/converting-sound-file-to-erc721-token-with-digital-art-chain-29b1890b6d4d

4

2 回答 2

0

查看 Permissioned Blocks 白皮书 - https://github.com/autocontracts/permissioned-blocks/blob/master/whitepaper.md#a-permissioned-file-sharing-model-for-distributed-networks

以下来自上面共享的链接中的文本 -

"Combining a peer-to-peer file sharing protocol with a blockchain protocol, a smart contract can be used as the security mechanism for the peer-to-peer file sharing protocol."

需要彻底了解,但这可能是permissions and access control on IPFS using Ethereum.

于 2018-05-25T13:39:12.120 回答
0

不,这仅适用于区块链和 IPFS。对不起。

您可以尝试这种方法:

[ Customer ] --buy---------------> [ blockchain ]
    |  ^     \                            ^
    |  |      \                   verify permission
    |  |       \                          |
    |  |        \-request access-> [ DRM server ]
    |  |                                  |
    |  \-------------- send access hash---/        
    |
    \----access file with access ID-> [ IPFS ]

客户将通过签署使用与记录在区块链上的相同帐户的消息来请求访问文件。

这种方法(以及任何使用 IPFS 的方法)的一个重大弱点是任何可以访问系统的人也可以在您不知情的情况下共享文件。这也意味着他们可以与自己共享(即您不能限制时间访问)。

于 2019-01-21T04:36:30.103 回答