Codeigniter CSRF - how does it work

后端 未结 3 1231
旧巷少年郎
旧巷少年郎 2020-11-29 06:19

Recently I found out about CSRF attacks and was happy to find out that CSRF protection was added to Codeigniter v 2.0.0.

I enabled the feature and saw that a hidden

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-29 06:43

    When csrf protection enabled security class checks this token automatically (it compares POST token with COOKIE token)

提交回复
热议问题