Hello!
Due to frequent blocking of the webtop Web GUI by company security measure (namely blue shield tool), where the webtop and NS8 GUI is detected as Phishing relevant site, I analyzed the HTTPS security measures a bit (not really in-depth yet). I understood that in NS7 a lot of discussions happened around that - did not find however something regarding NS8 - but maybe I missed to find this.
Now I just found that the webtop application has different security settings then nextcloud and then the general NS8 server.
Is there any reason for this different configurations, I understood all the endpoints should be handled by traefik?
And is there a possibility as admin to improve this?
Traefik as a reverse proxy in this case just provides the content of the web server of the app behind it.
The Webtop app seems to lack some security headers. Usually you can set them at the web server, see PTC Help Center
But as the apps just provide HTTP, traefik should be used. It’s able to provide those headers instead of the app behind it, see Traefik Headers Documentation - Traefik
I’m going to test some more…
Note that many of these headers have downsides that the scanner tools don’t report. One that comes to mind is HSTS–it enforces secure connections for whatever period of time is specified, typically a year from the last time your browser saw the header. Sounds great, right? Well, until there’s a problem with cert renewal, and now you’re locked out of your site. It’s a good thing to enable once you’re sure that getting and renewing certs is working as expected, but IMO shouldn’t be on by default.
As my issue still exists, can you provide me please with a hint how I could add Traefik Headers for specific applications (e.g. webtop) in NS8? Not sure which configs to change where. Thanks.
I tried to fix it for Webtop and reached an A. CSP didn’t work as Webtop wasn’t available anymore in my tests.
It should work similar with other webapps.
I just scanned FQDN of some apps like jitsi, Immich, opencloud and more. They all come out VERY scary…. Should I be worried? (or open a seperate post with details?)
No, it’s nothing to be worried about. The security headers are not easy to setup as the apps may need different settings and as @danb35pointed out, it could make your site unusable if set wrong or too strict.
Maybe it’s possible to find some good working default settings that could be enabled for all apps…
I think it’s best to add it here so we get a list of apps with missing security headers. We could edit the topic and category of this thread.
If there are many details that differ from this issue, then I’d recommend to open a new thread.