Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
* [Galene] HTTP security headers
@ 2021-01-13 13:14 Michael Ströder
  2021-01-13 13:47 ` [Galene] " Juliusz Chroboczek
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Ströder @ 2021-01-13 13:14 UTC (permalink / raw)
  To: galene


FWIW: Find below what I've added to my Apache reverse proxy config
(sorry, long lines wrapped). Of course 'self' has to be tweaked in case
you have a more complex URL routing.

It seems to still work ;-).
It has A+ rating [1].

Please comment if there's something wrong with that.

Ciao, Michael.


------------------- bite here ---------------
  Header onsuccess unset Content-Security-Policy
  Header always set Content-Security-Policy "base-uri 'self'; child-src
'self'; connect-src 'self'; default-src 'self'; font-src 'self';
form-action 'self'; frame-ancestors 'none'; frame-src 'none'; img-src
'self' data:; media-src 'self'; object-src 'self'; script-src 'self';
style-src 'self';"
  Header onsuccess unset Feature-Policy
  Header always set Feature-Policy "ambient-light-sensor 'none';
autoplay 'none'; accelerometer 'none'; camera 'self'; display-capture
'none'; document-domain 'none'; encrypted-media 'none'; fullscreen
'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none';
microphone 'self'; midi 'none'; payment 'none'; picture-in-picture
'self'; speaker 'self'; sync-xhr 'none'; usb 'none'; wake-lock 'none';
vr 'none'; xr 'none'"
  Header onsuccess unset Permissions-Policy
  Header always set Permissions-Policy "accelerometer=(), camera=(self),
geolocation=(), gyroscope=(), magnetometer=(), microphone=(self),
payment=(), usb=()"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-13 15:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13 13:14 [Galene] HTTP security headers Michael Ströder
2021-01-13 13:47 ` [Galene] " Juliusz Chroboczek
2021-01-13 15:55   ` Michael Ströder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox