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

Discuss the maxScopeString and Service-Worker-Allowed in security considerations #1405

Closed
jyasskin opened this issue May 6, 2019 · 1 comment

Comments

@jyasskin
Copy link
Member

jyasskin commented May 6, 2019

Service-Worker-Allowed and the maxScopeString in Update exist to protect sites that allow different users to operate within different paths but don't want those users to overwrite each other's content. This could use some discussion in the Security Considerations since it's not particularly obvious that there is this protection or what its limits are.

mfalken added a commit to mfalken/ServiceWorker that referenced this issue May 22, 2019
* Require Service-Worker-Allowed to be same-origin to the script URL
  (w3c#1307)
* Add non-normative explanation of Service-Worker-Allowed (w3c#1405) and
  other mitigations. The text is highly inspired by
  https://infrequently.org/2014/12/psa-service-workers-are-coming/.
mfalken added a commit to mfalken/ServiceWorker that referenced this issue May 29, 2019
* Require Service-Worker-Allowed to be same-origin to the script URL
  (w3c#1307)
* Add non-normative explanation of Service-Worker-Allowed (w3c#1405) and
  other mitigations. The text is highly inspired by
  https://infrequently.org/2014/12/psa-service-workers-are-coming/.
mfalken added a commit that referenced this issue May 29, 2019
* Require Service-Worker-Allowed to be same-origin to the script URL
  (#1307)
* Add non-normative explanation of Service-Worker-Allowed (#1405) and
  other mitigations. The text is highly inspired by
  https://infrequently.org/2014/12/psa-service-workers-are-coming/.
@mfalken
Copy link
Member

mfalken commented May 30, 2019

Thanks, added in #1409.

@mfalken mfalken closed this as completed May 30, 2019
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

2 participants