Skip to content

Commit 0367846

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: remove token section from qhelp overview
discussing tokens is not directly relevant to this query's recommendation and examples
1 parent f438282 commit 0367846

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

java/ql/src/Security/CWE/CWE-352/CsrfUnprotectedRequestType.qhelp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
credentials that are automatically included in the request, then this
1818
request will appear as legitimate to the server.
1919
</p>
20-
21-
<p>
22-
A common countermeasure for CSRF is to generate a unique token to be
23-
included in the HTML sent from the server to a user. This token can be
24-
used as a hidden field to be sent back with requests to the server, where
25-
the server can then check that the token is valid and associated with the
26-
relevant user session.
27-
</p>
2820
</overview>
2921

3022
<recommendation>

0 commit comments

Comments
 (0)