SAP Knowledge Base Article - Preview

3835591 - Secure media URL returns HTTP 200 instead of HTTP 403 for anonymous users in SAP Commerce Cloud

Symptom

In SAP Commerce Cloud, certain secured media files are accessible without authentication.

  • Accessing an affected secure media URL using an anonymous request returns HTTP 200 OK instead of the expected HTTP 403 Forbidden.

  • The affected media folder is configured as secured using the following property:

    media.folder.<folderName>.secured=true
  • Other secured media files correctly return HTTP 403 Forbidden when accessed anonymously.


Read more...

Environment

SAP Commerce Cloud 2211

Product

SAP Commerce Cloud 2211

Keywords

SAP Commerce Cloud, 2211, Secure Media, Anonymous Access, HTTP 200, HTTP 403, Forbidden, MediaPermissionService, WebAppMediaFilter, isReadAccessGranted, getPermittedPrincipals, grantReadPermission, MediaFolder, Media Permissions, ACL, Secure Media URL , KBA , CEC-SCC-PLA-PL , Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.