Is it possible to enable CSRF protection for RESTful method like PUT and DELETE |
The CSRF config part is as follows:
Code: $config['csrf_protection'] = TRUE; Quiet common. The document of Security Class(here) says: Quote:CodeIgniter provides CSRF protection out of the box, which will get automatically triggered for every non-GET HTTP request, but also needs you to create your submit forms in a certain way. This is explained in the Security Library documentation. But actually the test result is: (pls neglect the wrong word delete) |
Messages In This Thread |
Is it possible to enable CSRF protection for RESTful method like PUT and DELETE - by dangyuluo - 05-18-2016, 06:24 AM
RE: Is it possible to enable CSRF protection for RESTful method like PUT and DELETE - by dangyuluo - 05-18-2016, 07:17 AM
RE: Is it possible to enable CSRF protection for RESTful method like PUT and DELETE - by kilishan - 05-18-2016, 09:55 AM
|