diff --git a/cfe_internal/enterprise/templates/httpd.conf.mustache b/cfe_internal/enterprise/templates/httpd.conf.mustache index 707f2f28af..8976f00a5c 100644 --- a/cfe_internal/enterprise/templates/httpd.conf.mustache +++ b/cfe_internal/enterprise/templates/httpd.conf.mustache @@ -207,6 +207,23 @@ LogLevel warn Header always set X-Frame-Options DENY Header always set X-Content-Type-Options nosniff + Header always set Content-Security-Policy \ + "frame-ancestors 'self'; \ + default-src 'self'; \ + script-src 'self' 'unsafe-inline'; \ + style-src 'self' 'unsafe-inline' fonts.googleapis.com; \ + object-src 'none'; \ + frame-src 'self'; \ + child-src 'self'; \ + img-src 'self' avatars.githubusercontent.com badges.gitter.im fonts.gstatic.com kiwiirc.com raw.githubusercontent.com; \ + font-src 'self' data: fonts.googleapis.com fonts.gstatic.com; \ + connect-src 'self' fonts.gstatic.com fonts.googleapis.com; \ + manifest-src 'self'; \ + base-uri 'self'; \ + form-action 'self'; \ + media-src 'self'; \ + worker-src 'self';" + SSLOptions +StdEnvVars