add Content-Security-Policy header#1714
add Content-Security-Policy header#1714morgankevinj wants to merge 1 commit intonextcloud:masterfrom
Conversation
Add "add_header Content-Security-Policy "default-src 'self'" always;" and remove redundant headers
|
Hi, Our csp settings are managed within nextcloud directly.
What do you mean by that? |
|
Setting frame-ancestors to 'none' should be roughly equivalent to X-Frame-Options: DENY. |
|
cc @rullzer |
|
Nope. We set the csp from nextcloud. Because we need to also set the nonce etc. |
|
Thanks @morgankevinj 👍 Unfortunately IE11 is still supported https://github.com/nextcloud/browserslist-config/blob/master/browserlist.config.js and does not support the frame-ancestors directive https://caniuse.com/#feat=mdn-http_headers_csp_content-security-policy_frame-ancestors |
|
Closing then :) |
Add "add_header Content-Security-Policy "default-src 'self'" always;" and remove redundant headers