Per suggestion from forum <http://forums.smartclient.com/showthread.php?t=22484> and <http://www.gwtproject.org/doc/latest/DevGuideSecurityRpcXsrf.html>
We can generate XSRF token based on Session ID and append as parameter in RPC Action URL (e.g. RPCManager.setActionURL(...)).
But we want to check if we want to put the XSRF token to Http Header instead actionURL, how can I do in SmartGWT client side and server side?
Per comment from security team in my company, Http Header is more secure than putting in ActionURL.
Supplement that actionUrl is already good as we can set one and include in all DMI call, so if for this case can we have some API that is similar but set the HttpHeader instead of parameter in URL
We can generate XSRF token based on Session ID and append as parameter in RPC Action URL (e.g. RPCManager.setActionURL(...)).
But we want to check if we want to put the XSRF token to Http Header instead actionURL, how can I do in SmartGWT client side and server side?
Per comment from security team in my company, Http Header is more secure than putting in ActionURL.
Supplement that actionUrl is already good as we can set one and include in all DMI call, so if for this case can we have some API that is similar but set the HttpHeader instead of parameter in URL
Comment