我已经看到了一些问题(堆叠溢出)和这的帖子,但我仍然有一些问题.
- The hidden value can easy be copied and send exactly like the real one, "hard to guess" (like md5) will not help. (right?)
- You can easily change a cookie value or send a custom cookie exactly like the real one using the same real hidden value. (right?)
- So, if you're slow you will fail when you try to set everything up with the hidden value. If you're fast it gonna work. (right?)
我想得到CSRF...but的保护--我到底是怎么做的?
发布于 2012-01-03 18:08:28
我发现预防CSRF问题的最简单方法是:
发布于 2017-01-07 21:19:52
如果你做了以下的改变,我认为你是安全的
只需添加到上面:不要使用方法重写和不支持旧浏览器。
https://stackoverflow.com/questions/8716674
复制相似问题