Forum Discussion

amurdoch22's avatar
amurdoch22
Copper Contributor
Nov 27, 2024

How to integrate with Angular ngCspNonce`

Good Day

I'm trying to set up CSP Nonce support with Angular, using IIS on Windows-based Azure App Service Plans.  I can't switch to a different web server due to other requirements, so I'm stuck with IIS.  What I need to configure is a replacement for  'nonce-random_nonce_value'

In Apache or Nginx, this is trivial, but on IIS how do I tell it to replace "nonce-random_nonce_value" with "nonce-<blah-long-hash>".

Thanks

No RepliesBe the first to reply

Resources