how does codeigniter sanitize inputs?

后端 未结 3 708
执笔经年
执笔经年 2021-02-05 23:33

I\'m building a Codeigniter application and I\'m trying my hardest to prevent SQL injections. I\'m using the Active Record method to construct all my queries. I know Active Rec

3条回答
  •  一向
    一向 (楼主)
    2021-02-05 23:58

    Active Record only escapes the data, nothing else. SQL injection is prevented by escaping. Then use validation on the forms with their validation class. Should take care of your issues. Here's the link for the other CodeIgniter security items:

    CodeIgniter UserGuide Security

提交回复
热议问题