Credentials: Define how rules are applied (match all
or match any
)
#804
Labels
Type: Enhancement
New feature or request
all
or match any
)
#804
Currently, the way Ocean Node handles the web3 address-based access credentials is to allow access to everybody if no credentials are defined for an asset.
To increase the security of the assets shared using Ocean technology in enterprise-grade environments, we need to make the Ocean Node more restrictive when handling the assets with no address-based credentials defined. Therefore, the behavior of the Ocean Node needs to be updated as follows:
Also, the structure of the credentials object within the DDO needs to be updated to accommodate the credentials used by the newly added Policy Server component, as follows:
The "address" type object includes the addresses-based credentials (directly handled by Ocean Node) while the "PS-specific Type" object includes the credentials that the Policy Server will assess. The type of Policy Server access credentials will differ from one Policy Server implementation to another. For instance, the Policy Server developed for walt.id SSI stack will handle credentials of type "SSIpolicy".
The text was updated successfully, but these errors were encountered: