关于csrf

防止跨域攻击的方法,可以模仿spring security,通过隐藏域携带产生的token,并在提交时进行校验。因为第三方应用是不知道token的。

posted @ 2020-10-20 23:41  wonkju  阅读(71)  评论(0编辑  收藏  举报