Skip to content

Commit d103940

Browse files
committed
Xframe settings test
1 parent de21044 commit d103940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,11 +596,11 @@ public void Configure(IApplicationBuilder app, IMigrationRunner migrationRunner,
596596
"font-src https://script.hotjar.com https://assets.nhs.uk/; " +
597597
"connect-src 'self' http: ws:; " +
598598
"img-src 'self' data: https:; " +
599+
"frame-ancestors *" +
599600
"frame-src 'self' https:");
600601
context.Response.Headers.Add("Referrer-Policy", "no-referrer");
601602
context.Response.Headers.Add("Strict-Transport-Security", "max-age=31536000; includeSubDomains");
602603
context.Response.Headers.Add("X-Content-Type-Options", "nosniff");
603-
context.Response.Headers.Add("X-Frame-Options", "deny");
604604
context.Response.Headers.Add("X-XSS-protection", "0");
605605
await next();
606606
});

0 commit comments

Comments
 (0)