Restricting asset delivery URLs in Adobe Experience Manager Assets
This article explains how to secure asset delivery URLs in Adobe Experience Manager Assets, by configuring access restrictions based on user groups and asset metadata.
Description description
Adobe Experience Manager Assets allows organizations to manage and deliver digital assets. By default, asset delivery URLs may be accessible to anyone with the link. To ensure only authorized users or groups can access specific assets, AEM provides options to restrict delivery using metadata properties and user or group identities.
Environment
- Adobe Experience Manager Assets (Cloud Service)
- Dynamic Media with OpenAPI capabilities
Symptoms
- Asset delivery URLs are accessible without restriction.
- Need to limit access to assets based on user groups or asset metadata
- Uncertainty about which metadata property to use for access control
Cause
By default, asset delivery URLs aren’t restricted. Explicit configuration is required to enforce access controls based on metadata and user identity.
Resolution resolution
Follow the steps below to resolve the issue:
-
Identify the user groups in Adobe IMS that should have access to specific assets.
-
Decide which metadata property to use for access control. Adobe recommends using the
now:rolesproperty for defining access roles, but you can use other properties if they align with your requirements. -
Update the metadata of each asset you want to restrict:
- In AEM Assets, edit the asset’s metadata to include the chosen property (For example:
now:roles) and assign the appropriate user group or role values.
- In AEM Assets, edit the asset’s metadata to include the chosen property (For example:
-
Configure access control rules in AEM Assets:
- Use the Dynamic Media OpenAPI capabilities to enforce delivery restrictions based on the selected metadata property and IMS user or group membership.
-
Test the configuration:
- Attempt to access the restricted asset delivery URLs with users from different groups, to ensure that only authorized users can access the assets.
-
Refer to the official documentation for additional configuration examples and best practices.