CodeIgniter Forums
SQL injection question with codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: SQL injection question with codeigniter (/showthread.php?tid=76504)



SQL injection question with codeigniter - ashilnayak2 - 05-18-2020

I'm working on a project using codeigniter where I've got a form that writes to a database.
I'm using CI's Active Record Class with form validation rules for the input and escaping the inputs as well.
The db driver being used is mysql. Am I doing enough to prevent sql injection attacks or missing the point on how to keep this site safe?


RE: SQL injection question with codeigniter - jreklund - 05-18-2020

Hi, could you show us some code examples. As it sounds correct, but it's not always the case.