CPC H04L 63/20 (2013.01) [G06F 21/6245 (2013.01); H04L 63/06 (2013.01)] | 16 Claims |
1. An apparatus comprising:
at least one processor; and
at least one memory including computer program code;
the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus at least to:
in response to a reception of a first request to share data of a user from a data sharing agent, create a data sharing smart contract for the user, the data sharing smart contract indicating information on the sharing of the data based on a policy defined by the user;
publish the data sharing smart contract to one or more data consumers;
in response to a reception of a second request to access the data from a data consumer in the one or more data consumers, generate, by an execution of the data sharing smart contract, an indication that the data consumer is authorized to access the data by determining, based on the second request, whether the access of the data consumer to the data conforms to the policy and, in response to determining that the access of the data consumer to the data conforms to the policy, generating an authorization token to authorize the data consumer to access the data; and
send the authorization token to the data consumer to enable the data consumer to access the data.
|