Welcome Guest, Not a member yet? Register   Sign In
Is enabling CSRF option enough?
#1

I recently came across information stating that CodeIgniter 2.x includes built-in CSRF (Cross-Site Request Forgery) protection. However, when reviewing the documentation, I couldn't find any specific details related to CSRF, except for an option to enable it by setting it to TRUE in the config.php file. In my system, I don't utilize the form_helper that automatically integrates CodeIgniter's CSRF protection. Instead, I rely on the native HTML <form> elements.

My question is whether there are any additional steps I need to take to implement CodeIgniter's CSRF protection, or is simply setting the option to TRUE sufficient for my setup?
Reply


Messages In This Thread
Is enabling CSRF option enough? - by AnuragTangra - 07-12-2023, 04:24 AM
RE: Is enabling CSRF option enough? - by InsiteFX - 07-12-2023, 11:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB