IPFS cluster channeling

Hi there!

I have a fully private IPFS network (cluster) running on three different machines, with one cluster peer and one IPFS daemon on each. I’ll be extending it, and the number of cluster peers is unlimited.

I’m planning to use it alongside the Hyperledger Fabric blockchain. What I need from the IPFS side is channeling - specifically, the ability to select which peers can access the data. I’m aware of allocations, but if other peers know a content’s CID, they can still read the data, I don’t need that.

Is this possible in any way, or is it planned for future versions?

Thanks in advance!

There’s no such thing. Peergos implemented block-level access control so perhaps it gives you inspiration: Release the BATs (block level access control in IPFS)

IPFS offers serveral ways of “accessing the data”, so depending on them the problem can be attacked at different layers (not necessarily block-layer level). For example, Bitswap has WithPeerBlockRequestFilter() which can be used to only allow bitswap retrievals to specific peers (this is used on Rainbow):

1 Like