Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PJTewkesbury opened this issue Nov 14, 2024 · 0 comments
Open

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

PJTewkesbury opened this issue Nov 14, 2024 · 0 comments

Comments

@PJTewkesbury
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant