Skip to content

question about verifying DID permissions in did-method #45

@michaelzhouyd

Description

@michaelzhouyd

Hi there,

Could you please help answer a question about verifying DID permissions in did-method?

In the seciont of 3.2.1 Verify Request Header of the document of "did:wba Method Specification(V0.1)", there is a discription of "Verify DID Permissions: Verify if the DID in the request has the permission to access the resources of the service. If not, the service returns".

My question is that what is based on for the service agent to grant resource permission to the client agent? if it is based on verifying the signed messsage by the pulic key from the client agent, it only proves that the request is from the entity who holds the private key conresponding to the public key.

If the client agent wants to get some special resource from the service agent, my understanding is that there must be some agreetment between the service agent and clients before the request in some kind of form which can be related to the client agent. But I don't know what it is and how to do the mapping in the current situation from your idea.

if the client agent wants to get the general resource open to everyone, the authentication by DID may be not necessary even from security perspective, because the server client can guarantee the connection security by the mechanism simliar to https and may not care who do the reqest for general resource.

thanks

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