Skip to content

Retrieval permission to deals #227

@kernelogic

Description

@kernelogic

Summary

(OP @ Da-you. Proofread by @ Fei Yan)

Add retrieval permission to deals, allowing only certain clients to retrieve a deal.

Motivation

Currently Filecoin protocol allows anyone with the data CID to retrieve a deal.

In a real word scenario, privacy and security are important for data storage, and it is relatively limiting if your stored data can be freely retrieved by others, although we can encrypt that data, but preventing others from retrieving it on the protocol layer can provide higher security and usability.

Design

Client side: When proposing a deal, you can specify one or more client addresses that are allowed to retrieve that data.
SP side : When a client retrieves a deal, first check to see if the client is in the list of clients that can be retrieved. If the list is empty, then it is open to everyone.

Use Cases

Personal or business surveillance video requires a high level of security and privacy, they may not retrieve data often, but when they want to, they want to be the only ones who can.

Consideration

Make updates to the allowed list after deal is on chain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions