How to set Content Security Policy (CSP) Header Not Set for Azure Blob Static Website

Mosa REMBALA 0 Reputation points
2023-01-30T08:01:20.52+00:00

Hi Team,
I've resolved my problem about the proxy disclosure and now I undergo a problem about Content Security Ploicy (CSP) Header Not Set.
This is a screenshot displaying the case.

Content Security Policy (CSP) Header Not Set

Thanks for your feedback

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,203 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Mosa REMBALA 0 Reputation points
    2023-02-02T13:46:38.1033333+00:00

    @Arun Siripuram

    By default, there was no staticwebapp.config.json file in my app_location so I created it. I've already found it anywhere but there wasn't.
    We use CDN and Web App(blob static website).

    So besides, I found a new solution but not yet successully, I work on Rules engine to configure my CDN.


  2. Vlad Kasianenko 0 Reputation points
    2024-04-29T12:50:36.0833333+00:00

    How to provide dynamic nonce with Azure Static Web App?
    As far as I understand, I need to generate it on the backend side, but is there anything like that in the SWA?
    https://angular.io/guide/security#content-security-policy

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.