Skip to content

Instantly share code, notes, and snippets.

@khamiltonuk
Created November 29, 2015 22:48
Show Gist options
  • Select an option

  • Save khamiltonuk/aeca69fa40b42503e194 to your computer and use it in GitHub Desktop.

Select an option

Save khamiltonuk/aeca69fa40b42503e194 to your computer and use it in GitHub Desktop.
Simple CSRF Protection with Spring MVC - putting token in the page
<form action="..." method="post">
...
<input type="hidden" name="secureToken" value="${secureToken}"/>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment