summaryrefslogtreecommitdiff
path: root/static/build.html
diff options
context:
space:
mode:
authorDaniel Micay <daniel.micay@grapheneos.org>2024-04-01 15:21:25 -0400
committerDaniel Micay <daniel.micay@grapheneos.org>2024-04-01 15:21:25 -0400
commit73481396e87062ab4a9105d0751cf446e37be82f (patch)
treec75093c15833f3aded865d1ec692acc342212ebf /static/build.html
parent43a33855b06cf66c2de036704b1fb2ee06becece (diff)
update CSRF guidance
Diffstat (limited to 'static/build.html')
-rw-r--r--static/build.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/static/build.html b/static/build.html
index 5a612101..08e6c178 100644
--- a/static/build.html
+++ b/static/build.html
@@ -1404,8 +1404,11 @@ rm android-cts-media-1.5.zip</pre>
attribute and <code>Path=/</code>. The <code>HttpOnly</code> and
<code>SameSite=Strict</code> flags should also always be included. These kinds
of cookies can provide secure login sessions in browsers with fully working
- <code>SameSite=Strict</code> support. However, CSRF tokens should still be used
- for the near future in case there are browser issues.</p>
+ <code>SameSite=Strict</code> support.</p>
+
+ <p>CSRF mitigation should be implemented via enforcing the presence of
+ Sec-Fetch-Site with the value same-origin. Services using only POST can also do
+ this via the more backwards compatible Origin header.</p>
<p>For web content, use dashes as user-facing word separators rather than underscores.
Page titles should follow the scheme "Page | Directory | Higher-level directory |