This week I was researching on how to generate a nonce for my inline script/css block to avoid the use of unsafe-inline and unsafe-eval
I came across this article that uses Owin to do that : https://vcsjones.com/2014/12/17/content-security-policy-nonces-in-asp-net-and-owin/
Maybe this can be used. This would allow for a nonce as well from your package.
Umbraco already has a Owin startup class defined in the web.config
So i guess it would be a matter of inheriting that one and updating the web.config with yours.
Dave
This week I was researching on how to generate a nonce for my inline script/css block to avoid the use of unsafe-inline and unsafe-eval
I came across this article that uses Owin to do that : https://vcsjones.com/2014/12/17/content-security-policy-nonces-in-asp-net-and-owin/
Maybe this can be used. This would allow for a nonce as well from your package.
Umbraco already has a Owin startup class defined in the web.config
So i guess it would be a matter of inheriting that one and updating the web.config with yours.
Dave