-
Notifications
You must be signed in to change notification settings - Fork 22
Origin isolation warnings, tests and enforcement #30
Copy link
Copy link
Closed
Labels
P1High: Likely tackled by core team if no one steps upHigh: Likely tackled by core team if no one steps upeffort/hoursEstimated to take one or several hoursEstimated to take one or several hoursenhancementNew feature or requestNew feature or requestexp/intermediatePrior experience is likely helpfulPrior experience is likely helpfulkind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featurestatus/in-progressIn progressIn progress
Metadata
Metadata
Labels
P1High: Likely tackled by core team if no one steps upHigh: Likely tackled by core team if no one steps upeffort/hoursEstimated to take one or several hoursEstimated to take one or several hoursenhancementNew feature or requestNew feature or requestexp/intermediatePrior experience is likely helpfulPrior experience is likely helpfulkind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featurestatus/in-progressIn progressIn progress
Needs
For
inbrowser.linkThe goal is to provide a subdomain gateway for loading websites in web browser.
Lack of isolation is a security bug. Subdomain mode MUST be enforced.
For General Availability
Good security is like water, if things are right, fishes should not even notice it.
For end users:
For gateway Operators:
Initial design
*.ipfs.example.comworks)fetchAPI, as noted in feat: add explicit support for subdomain gateways helia#439 (review)window.location.replacemay be even better as it removes path URL from browser history.Tasks
Before ETH Denver:
inbrowser.link. we have subdomain setup, so we should detect being on path, confirm subdomain works, convert to subdomain, and redirect to that.For general availability:
example.com/ip[nf]sand either redirect to working subdomain at*.ip[nf]s.example.comor produce error page which requires user to accept the risk before they to continue browsing in path gateway modeisSubdomainIsolationSupported(should be executed only once)