feat: Add CSP configuration to use CSPMiddleware and CSP nonce to script tags in several cshtml script
This commit is contained in:
@@ -11,9 +11,8 @@
|
||||
}
|
||||
},
|
||||
"PSPDFKitLicenseKey": null,
|
||||
/* recommended Content-Security-Policy for production:
|
||||
"default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self';" */
|
||||
"Content-Security-Policy": null,
|
||||
/* The first format parameter {0} will be replaced by the nonce value. */
|
||||
"Content-Security-Policy": "default-src 'self'; script-src 'self' 'nonce-{0}'; style-src 'self' 'nonce-{0}'; img-src 'self' data: https:; font-src 'self'; connect-src 'self' wss://localhost:44385 ws://localhost:61446; frame-src 'self'; media-src 'self'; object-src 'self';",
|
||||
"AdminPassword": "dd",
|
||||
"AllowedOrigins": [ "https://localhost:7202", "https://digitale.unterschrift.wisag.de/" ],
|
||||
"NLog": {
|
||||
|
||||
Reference in New Issue
Block a user