Skip to content

Feature Request - Allow the CSP to be updated at run time #80

Description

@PJTewkesbury

Hi,

I am using your nuget package which works very well. However, I have a new requirement that means I need to update the CSP header dynamicly. That is, we have a internal product to which we need to add call back urls. When these are added, we need to restart the web app so that the CSP is updated.

Would it be possible to store the CSP options in a static varaible so that I can update the values as needed, and the middleware read from these gloabl static settings?

thanks.

Peter

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions