简体   繁体   English

GWT平台应用程序的安全性

[英]Security on GWT-Platform Applications

I've trying to protect my action against XSRF attacks, following the tutorial in this link , but, I can't undestand how, where and what I set in MYCOOKIE , following the example. 按照此链接中的教程,我试图保护自己的行为免受XSRF攻击,但是,按照示例,我无法理解在MYCOOKIE设置的方式,位置和内容。

I already make my actions secured (using boilerplate generation), and configure my DispatchServletModule to use sec_cookie as the security cookie, but, as I say, I dont know how to set the cookie. 我已经使动作安全了(使用样板生成),并配置了DispatchServletModule以将sec_cookie用作安全性cookie,但是正如我所说的,我不知道如何设置该cookie。

Can someone explain this or show a example? 有人可以解释一下还是举一个例子?

Thanks in advance. 提前致谢。

EDIT1: Where I have to put the @SecurityCookie annotation? EDIT1:我必须在哪里放置@SecurityCookie批注?

EDIT1: Where I have to put the @SecurityCookie annotation? EDIT1:我必须在哪里放置@SecurityCookie批注? In your gin client module and guice module. 在您的gin客户端模块和guice模块中。

Also you can read: https://groups.google.com/forum/?hl=en#!searchin/gwt-platform/XSRF 您也可以阅读: https : //groups.google.com/forum/?hl=zh_CN!searchin/gwt-platform/XSRF

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM