Tell me how you can enable CSRF (Cross Site Request Forgery) in CodeIgniter?

Submitted by: Muhammad
You can activate CSRF (Cross Site Request Forgery) protection in CodeIgniter by operating your application/config/config.php file and setting it to

$config [ ‘csrf_protection'] = TRUE;

If you avail the form helper, the form_open() function will insert a hidden csrf field in your forms automatically
Submitted by: Muhammad

Read Online Jnr PHP/Codeigniter Developer Job Interview Questions And Answers