CodeIgniter Forums
Disable CSRF Protection for One Action - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Disable CSRF Protection for One Action (/showthread.php?tid=45525)



Disable CSRF Protection for One Action - El Forum - 09-25-2011

[eluser]wowdezign[/eluser]
Has anyone successfully disabled the CSRF protection in only a single controller action? I need to allow a POST request from a script but I do not want to disable it for the entire site.

Thanks in advance.