Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GWT & XSRF Protection

Tags:

csrf

rpc

owasp

gwt

I'm looking at possible solutions to protect my GWT app against XSRF.

If I understand GWT's solution correctly - it makes available a Servlet which you use to both generate the token on the client-side (when calling your RPC endpoint) and to validate on the server-side (when the call hits your service).

Does this solution only cater for RPC calls? Surely we need it to cover all user generated requests to the server?

Any other recommended XSRF solutions (I'm also looking at OWASP's CSRFGuard)?

like image 558
Markus Coetzee Avatar asked Jun 06 '11 22:06

Markus Coetzee


1 Answers

I modified the GWT Sample App to be protected against XSRF. This solution is roughly based of the solution provided in the GWT developer docs. http://code.google.com/p/xsrf-safe/

like image 117
Nick Siderakis Avatar answered Sep 21 '22 08:09

Nick Siderakis