ABAC rules not restricting access to confidential assets in Dynamic Media Open API URLs

This article explains how to resolve issues where Attribute-Based Access Control (ABAC) rules configured for Dynamic Media with OpenAPI URLs in Adobe Experience Manager (AEM) as a Cloud Service do not restrict access to assets as expected. To fix the issue, verify the asset metadata, the ABAC rule logic, and the rule deployment status, then retest access after the CDN cache refreshes.

Description description

Environment

Adobe Experience Manager as a Cloud Service with Dynamic Media with OpenAPI enabled (production and test environments)

Symptoms

After you configure ABAC rules for Dynamic Media with OpenAPI URLs, restricted asset URLs remain accessible without an ABAC delivery token or the required group membership.

Example scenario:

  • Metadata property: <confidentialityTypeProperty>
  • Condition: Value = confidential
  • Expected behavior: Access requires an ABAC delivery token
  • Actual behavior: Asset URLs are publicly accessible without the token

Cause

This issue typically occurs when one of the following is true:

  • The ABAC rule is not configured correctly or is not active in the target environment.
  • The asset metadata property that the rule evaluates is missing or set to an unexpected value.
  • The CDN is still serving a cached response from before the rule took effect.

Resolution resolution

Follow the steps below to resolve the issue.

  1. Verify the prerequisites.

    • Confirm that Dynamic Media with OpenAPI is enabled in the environment.
    • Confirm that you have administrative permissions for your AEM Dynamic Media tenant.
  2. Verify the metadata schema and asset metadata.

    • Confirm that the metadata schema includes the property the ABAC rule evaluates (for example, <confidentialityTypeProperty> or a group property such as <accessGroupProperty>).
    • Confirm that the schema is assigned to the folders that contain the affected assets.
    • Confirm that the property is set as expected on each affected asset (for example, confidential, or the user group ID for group-based restriction).
  3. Verify the ABAC rule logic.

    • Token-based example: if <confidentialityTypeProperty> is confidential, require an ABAC delivery token. For any other value, or if the property is missing, the URL is publicly accessible.
    • Group-based example: if the asset is approved and <accessGroupProperty> contains a group ID, only users in that group can access it. If the property is empty, the asset is publicly accessible.
    • Confirm that the correct user group is associated with the rule.
  4. Check the rule deployment status.

    • Confirm that the rule is deployed and active in the environment you are testing, including production if applicable.
  5. Test asset access.

    • Request a restricted asset URL without an ABAC delivery token, or as a user outside the allowed group. The request should return a 404 error.
    • Request the same URL with a valid token, or as a user in the allowed group. The asset should load.
    • Request an asset with an empty or non-restricted property value. The asset should be publicly accessible.
    • If a restricted asset is still accessible, allow time for the CDN cache to refresh, then retest.
  6. If the issue persists, contact Adobe Support.

    • Provide example asset URLs, environment details, the metadata property names and values, the user group IDs, and the configured rules.
recommendation-more-help
experience-cloud-kcs-help-kbarticles