Login
Remember
Register
Ask a Question
Explain how you can enable CSRF (Cross Site Request Forgery) in CodeIgniter?
0
votes
asked
Dec 29, 2020
in
CodeIgniter
by
SakshiSharma
Explain how you can enable CSRF (Cross Site Request Forgery) in CodeIgniter?
#csrf
cross-site-request-forgery
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 29, 2020
by
SakshiSharma
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;
...