TASVideos / tasvideos

The code for the live TASVideos website
https://tasvideos.org/
GNU General Public License v3.0
63 stars 29 forks source link

Set more security-related HTTP headers #1839

Closed YoshiRulz closed 1 month ago

YoshiRulz commented 1 month ago

With my recent version of FF, I can see that window.self.crossOriginIsolated is now true, indicating that the COEP is in effect. But what is COEP? To oversimplify: what CORS should have been.

re: Permissions-Policy, they all default to self (iframes can't use those APIs), but better safe than sorry. If first-party JS actually needs one, its line can be commented out.