Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New security headers: COOP, COEP, CORP and CORB #67

Open
3 tasks
philwareham opened this issue Apr 29, 2021 · 4 comments
Open
3 tasks

New security headers: COOP, COEP, CORP and CORB #67

philwareham opened this issue Apr 29, 2021 · 4 comments
Assignees

Comments

@philwareham
Copy link
Member

philwareham commented Apr 29, 2021

There is a bunch of new security headers incoming, specifically COOP, COEP, CORP and CORB. We need to investigate which are appropriate to our family of sites.

Source: https://scotthelme.co.uk/coop-and-coep/

  • Cross Origin Opener Policy (COOP) MDN
  • Cross Origin Embedder Policy (COEP) MDN
  • Cross Origin Resource Policy (CORP) MDN

Note that also Cross Origin Read Blocking (CORB) is mentioned, this depends on rules such as Access-Control-Allow-Origin: * not being used, which we currently do use (although I need to remember why we set this - there was a reason). EDIT: this was the reason.

@Bloke
Copy link
Member

Bloke commented Apr 29, 2021

Great stuff.

EDit... OT but related: textpattern/textpattern#1681

@philwareham
Copy link
Member Author

philwareham commented Jun 24, 2021

@petecooper
Copy link
Member

Also for ref h5bp/server-configs-nginx@25a569d

@philwareham
Copy link
Member Author

Tentative rules for this (for Apache)...

Header always set Cross-Origin-Opener-Policy "same-origin"
Header always set Cross-Origin-Resource-Policy "same-site"
Header always set Cross-Origin-Embedder-Policy "require-corp"

...but that relies on CORS being set up properly to work, and that subject is a whole other level of confusing to me, so I'll defer to someone with better knowledge - or read more about it at some point in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants