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

Any interest in formalizing "Secure context restriction" in Fetch? #95

Open
annevk opened this issue Jan 10, 2023 · 3 comments
Open

Any interest in formalizing "Secure context restriction" in Fetch? #95

annevk opened this issue Jan 10, 2023 · 3 comments

Comments

@annevk
Copy link

annevk commented Jan 10, 2023

I believe Chrome has shipped an implementation of https://wicg.github.io/private-network-access/#secure-context-restriction and WebKit is interested in it. That combination suffices for a Fetch PR.

I think that would be a nice starting point as it gives us some of the underlying infrastructure needed for the remainder of the specification as well, while not being so big that it gets unwieldy.

I think #91 is a blocker for this, but fortunately that's editorial. Didn't spot anything else based on a quick skim.

Thoughts?

@johnathan79717
Copy link
Collaborator

#94 could be a blocker too as Chrome still needs to ship that before getting rid of the deprecation trial.

@letitz
Copy link
Collaborator

letitz commented Jan 11, 2023

Yes, the spec currently does not mention the permission prompt, but we've found while trying to roll the secure context restriction out that it causes too much breakage on its own. Some kind of release valve is needed. We propose a new API that allows secure contexts to make requests over plaintext to the local network, bypassing mixed content given explicit user permission.

Beyond that, yes! I am very interested in formalizing this in Fetch.

@letitz
Copy link
Collaborator

letitz commented Mar 2, 2023

Status here is still that #94 should be merged before we start writing a Fetch PR.

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