CodeIgniter Forums
Codeigniter Cross Script Request Forgery and CRUD libraries - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forum-7.html)
+--- Forum: Addins (https://forum.codeigniter.com/forum-13.html)
+--- Thread: Codeigniter Cross Script Request Forgery and CRUD libraries (/thread-67649.html)



Codeigniter Cross Script Request Forgery and CRUD libraries - Gtya - 03-20-2017

Dear,

so while learning CodeIgniter i noticed that the CSRF is an interesing features, but all the libraires i have found like Grocery CRUD have trouble with this functionality.

is there somewhere a good complete explanation about how to make them compatible with theses functionalities?

(as i think that lowering down the security is not a good option and such CSRF should always be used)

are you aware of any CRUD libraries that is fully functional/compatible straight from the box with CodeIgniter 3 / stable and these security options?

thanks in advance Smile


RE: Codeigniter Cross Script Request Forgery and CRUD libraries - InsiteFX - 03-20-2017

Most of the time it breaks when there are other libraries like Grocery CRUD because of Ajax calls.

You can read this article should help you out.

When CodeIgniter’s CSRF Protection breaks your Ajax