ipfs / in-web-browsers

Tracking the endeavor towards getting web browsers to natively support IPFS and content-addressing
https://docs.ipfs.tech/how-to/address-ipfs-on-web/
MIT License
349 stars 29 forks source link

docs: add test for ipfs:// origin isolation #156

Closed lidel closed 4 years ago

lidel commented 4 years ago

This PR adds a short section about diagnostic page at ipfs://bafkreiatfi5jmy2gzhjr5tixsqntof3pieuyibcbaz3riakaepx4ytoxfu

It should self-report an unique Origin based on the URL authority component (which in case of ipfs:// is CID: baf..), as stated in RFC 2396.

@autonome passing this is a prerequisite for secure sandbox provided by same-origin policy.

Closes #155

lidel commented 4 years ago

Deployed: https://ipfs.github.io/in-web-browsers/ipfs-protocol-handler-support-tests.html

Diagnostic page for Origin isolation provides examples now:

2019-12-20--13-59-48