Skip to content

Commit

Permalink
Remove text on request forgery
Browse files Browse the repository at this point in the history
In looking into this text and the related specifications I decided that
it would be better to address the risk of request forgery in the
protocol specifications.  Right now, they say nothing about this
problem, but they really should.  I'm going to open an issue.

On the assumption that the protocol documents address this problem
adequately, then this document doesn't need to concern itself with the
problem.  It is enough to remove any false claims and defer to the
protocol spec.

This contains a tweak to the adjacent text for the Origin field (w3c#368),
but it doesn't fix that issue.

Closes w3c#175.
  • Loading branch information
martinthomson committed Oct 13, 2021
1 parent a0e5591 commit 02a8fbf
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Boilerplate: omit conformance
<pre class="link-defaults">
spec:streams; type:interface; text:ReadableStream
spec:html; type:dfn; for:/; text:origin
spec:fetch; type:dfn; for:/; text:origin header
spec:fetch; type:dfn; for:/; text:fetch
spec:url; type:dfn; text:scheme
spec:url; type:dfn; text:fragment
Expand Down Expand Up @@ -1737,15 +1738,16 @@ specification.
## Protocol Security ## {#protocol-security}

WebTransport imposes a set of requirements as described in
[[!WEB-TRANSPORT-OVERVIEW]], including:

1. Ensuring that the remote server is aware that the
connection in question originates from a Web application; this is required
to prevent cross-protocol attacks. [[WEB-TRANSPORT-HTTP3]] uses a
combination of ALPN [[RFC7301]], an HTTP/3 setting and a `:protocol`
pseudo-header for this purpose.
1. Allowing the server to filter connections based on the
origin of the resource originating the transport session.
[[!WEB-TRANSPORT-OVERVIEW]], including:

1. Ensuring that the remote server is aware that the WebTransport protocol is in
use and confirming that the remote server is willing to use the WebTransport
protocol. [[WEB-TRANSPORT-HTTP3]] uses a combination of ALPN [[RFC7301]], an
HTTP/3 setting, and a `:protocol` pseudo-header to identify the WebTransport
protocol.
1. Allowing the server to filter connections based on the origin of the resource
originating the transport session. The [[fetch#origin-header|Origin]] header
field on the session establishment request carries this information.

Protocol security considerations related are described in the
*Security Considerations* sections of [[!WEB-TRANSPORT-HTTP3]].
Expand Down

0 comments on commit 02a8fbf

Please sign in to comment.