|
yeah, hdiv guys already mentioned they break ajax support for apps that use their filter, so (1) is definetely a no-go for us. we are going to go the (2) route, i am thinking a simple sunjcecrypt and a [sessionid.uuid] key...
do we have a jsessionid always?
stateless pages? What to do if for example there is not session yet? Then the default key is just used? in order to have csrf protection you have to create an httpsession...stateless apps are not secure because you need a mirror token on the server
the default crypt factory is now KeyInSessionSunJceCryptFactory which uses a randomly generated encryption key stored in httpsession.
I found the commit on svnsearch (http://svnsearch.org/svnsearch/repos/ASF/search?logMessage=csrf). Any idea when 1.3.5 will be released? This looks like a much better solution then trying to build my own "secure" forms.
in the near future is all i can say. if you would like it to be released earlier start a thread on the mailing list
|
||||||||||||||||||||||||||||||||||||||||||||||||||
include a random token in each url that wicket generates?
is then only 1 token valid for 1 request?
That will not work for wicket. because of partial ajax updates of subsets of the pages then we have urls with token Y and with token Y+1 one 1 page and both urls old and new onces have to work fine.