A request has been denied as a potential CSRF attack.

Need help? Post your questions here.

Moderator: moderators

A request has been denied as a potential CSRF attack.

Postby doahh » Sat Nov 24, 2012 2:02 pm

This is a new install in Tomcat 7. I found this thread that discusses how to handle the various issues with running in Tomcat 7 but I can't find anything about the CSRF attack. Does anyone have any suggestions?

ERROR org.directwebremoting.dwrp.BaseDwrpHandler - A request has been denied as a potential CSRF attack
doahh
 
Posts: 2
Joined: Sat Nov 24, 2012 1:29 pm

Re: A request has been denied as a potential CSRF attack.

Postby doahh » Sat Nov 24, 2012 2:11 pm

Add this to web.xml:

<init-param>
<param-name>crossDomainSessionSecurity</param-name>
<param-value>false</param-value>
</init-param>


It looks like that is side stepping some security but it works. If anyone knows a better solution than I would like to hear it.
doahh
 
Posts: 2
Joined: Sat Nov 24, 2012 1:29 pm

Re: A request has been denied as a potential CSRF attack.

Postby pdicresc » Tue Oct 22, 2013 1:44 pm

This helped. Thank you, doahh!
pdicresc
 
Posts: 3
Joined: Mon Oct 21, 2013 2:23 am


Return to Help

Who is online

Users browsing this forum: No registered users and 12 guests