General question about CSRF for a newbie |
[eluser]boltsabre[/eluser]
Hi guys, just a really quick question about CSRF in CI (note, I'm using CI V2, not the old one). Is all I have to do to set it up is this line of code? Code: $config['csrf_protection'] = TRUE; And ensure I use the Code: form_open() So is it really this simple to implement and use (ie, my site is now protected from CSRF attacks?), or is there other stuff you have to handle in the controllers/models for it to work? If so, does anyone have a link to a good tutorial. Thanks in advance.
[eluser]toopay[/eluser]
Here some basic : http://www.learnphponline.net/protect-a-...inst-csrf/ |
Welcome Guest, Not a member yet? Register Sign In |