阅读背景:

CSRF验证令牌:会话ID安全吗?

来源:互联网 

In asp.net I am implementing an IHttpModule to mitigate CSRF attacks. It injects into the response html a hidden form parameter with the asp.net SessionID on GETs. On POSTs it then checks to make sure that hidden parameter's value matches the current SessionID. As far as I know, the only way to get the SessionID value is from the cookie, which couldn't be read or determined by the malicious site. Is there anything I am overlooking?In asp.net I am implementing an IHttpModule to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: