Configure asset upload restrictions configuring-asset-upload-restrictions

You can configure Adobe Experience Manager Assets to restrict the type of assets that users can upload. It helps prevent accidental uploads of undesired format and malicious files. The Day CQ DAM Asset Upload Restriction service enables you to control the type of files that users can upload. By default, Assets allows users to upload assets of all MIME types. However, you can configure the service to restrict users to upload files of specific MIME types only.

  1. Open the Configuration Manager web console. Access https://[aem_server]:[port]/system/console/configMgr.

  2. Open the Day CQ DAM Asset Upload Restriction service in Edit mode. By default, the Allow all MIME option is selected, which allows users to upload files of all MIME types.

    chlimage_1-378

  3. To restrict users to upload files of certain MIME types only, unselect the Allow all MIME option and specify allowed MIME types in the Allowed Asset MIMEs (regex) fields using regular expressions.

    chlimage_1-379

  4. Click Save to save the changes. If you specify MIME-strings for allowed MIME types, the upload operation fails for any asset with MIME type that doesn’t match the configured MIME strings in these fields.

recommendation-more-help
19ffd973-7af2-44d0-84b5-d547b0dffee2