CSP and CSP-report-only Headers in Flare Output

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
WriterAndrew
Propeller Head
Posts: 50
Joined: Tue Mar 05, 2019 2:43 am

CSP and CSP-report-only Headers in Flare Output

Post by WriterAndrew »

Hi, All,
We output our HTML5 documentation from Flare to a public "portal".
Our Product Security Incident Response Team (PSIRT) have just scanned our Docs subdomain, and have found that the docs portal has no CSP and CSP-report-only headers.
Where should I start looking to be able to resolve this issue?
Many thanks
Andrew
Psider
Propellus Maximus
Posts: 816
Joined: Wed Jul 06, 2011 1:32 am

Re: CSP and CSP-report-only Headers in Flare Output

Post by Psider »

The headers are a web server config thing, generally speaking. Although there is a meta tag, from reading this page it seems the options are more limited than setting up the server to send the headers.

https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
NorthEast
Master Propellus Maximus
Posts: 6365
Joined: Mon Mar 05, 2007 8:33 am

Re: CSP and CSP-report-only Headers in Flare Output

Post by NorthEast »

To be honest, I'd expect your security folks to advise you on how to fix this.

How you do that depends on your server. Our server uses IIS, so I was able to add CSP stuff by uploading a single web.config file.

I could've probably used meta tags to do the same thing, but fixing it at the server level was way easier than adding meta tags to hundreds or thousands of individual HTML pages.
WriterAndrew
Propeller Head
Posts: 50
Joined: Tue Mar 05, 2019 2:43 am

Re: CSP and CSP-report-only Headers in Flare Output

Post by WriterAndrew »

Many thanks for your responses - and yes, on further investigation, I understand that it is best fixed at a server-level, rather than adding metadata into each topic/resource from the Flare end.
Which is good, because it means I can hand the fix off to another team :D
Post Reply