|
1 | 1 | ---
|
2 | 2 | title: Subdomain Gateway Specification
|
3 | 3 | description: >
|
4 |
| - Subdomain Gateways are an extension of Path Gateways that enable website hosting |
5 |
| - isolated per CID/name, while remaining compatible with web browsers relative pathing and |
6 |
| - the security model of the web. |
| 4 | + Defines how HTTP Gateway can implement support for HTTP Host headers to |
| 5 | + enable isolated website hosting based on root CID-derived Origins. This |
| 6 | + ensures compatibility with native ipfs:// and ipns:// URIs, and aligns with |
| 7 | + the existing Same-origin security model in web browsers, including |
| 8 | + relative URL pathing and permission scopes of Web APIs. |
7 | 9 | date: 2023-01-28
|
8 | 10 | maturity: reliable
|
9 | 11 | editors:
|
10 | 12 | - name: Marcin Rataj
|
11 | 13 | github: lidel
|
12 | 14 | url: https://lidel.org/
|
| 15 | + affiliation: |
| 16 | + name: Protocol Labs |
| 17 | + url: https://protocol.ai/ |
13 | 18 | - name: Adrian Lanzafame
|
14 | 19 | github: lanzafame
|
| 20 | + affiliation: |
| 21 | + name: Protocol Labs |
| 22 | + url: https://protocol.ai/ |
15 | 23 | - name: Vasco Santos
|
16 | 24 | github: vasco-santos
|
| 25 | + affiliation: |
| 26 | + name: Protocol Labs |
| 27 | + url: https://protocol.ai/ |
17 | 28 | - name: Oli Evans
|
18 | 29 | github: olizilla
|
| 30 | + affiliation: |
| 31 | + name: Protocol Labs |
| 32 | + url: https://protocol.ai/ |
19 | 33 | - name: Thibault Meunier
|
20 | 34 | github: thibmeu
|
| 35 | + affiliation: |
| 36 | + name: Cloudflare |
| 37 | + url: https://cloudflare.com/ |
21 | 38 | - name: Steve Loeppky
|
22 | 39 | github: BigLep
|
| 40 | + affiliation: |
| 41 | + name: Protocol Labs |
| 42 | + url: https://protocol.ai/ |
23 | 43 | xref:
|
24 | 44 | - url
|
25 | 45 | - html
|
26 | 46 | tags: ['httpGateways', 'webHttpGateways']
|
27 | 47 | order: 3
|
28 | 48 | ---
|
29 | 49 |
|
30 |
| -Subdomain Gateway is an extension of :cite[path-gateway] that |
31 |
| -enables website hosting isolated per CID/name, while remaining compatible with |
32 |
| -web browsers relative pathing and security model of the web. |
33 |
| -Below should be read as a delta on top of that spec. |
| 50 | +Subdomain Gateways extend :cite[path-gateway] with HTTP [Host](#host-request-heafer) |
| 51 | +header support. Below should be read as a delta on top of that spec. |
| 52 | + |
| 53 | +This specification enables isolated website hosting based on root CID-derived |
| 54 | +Origins, ensures compatibility with native ipfs:// and ipns:// URIs, and aligns |
| 55 | +with the existing Same-origin security model in web browsers, |
| 56 | +including relative URL pathing and permission scopes of Web APIs. |
34 | 57 |
|
35 | 58 | Summary:
|
36 | 59 |
|
|
0 commit comments