Protecting your CodeIgniter application from CSRF / XSRF attacks is easy, thanks to the framework’s security features. CSRF protection can be enabled in a matter of minutes, and it doesn’t take long to make existing forms and AJAX calls compatible with the feature.
CodeIgniter: Using CSRF Tokens to Secure Your Application
25