开发者

RedBeanPHP & User Input Data Sanitation

开发者 https://www.devze.com 2023-04-02 07:11 出处:网络
I\'ve be开发者_如何学Pythonen testing RedBeanPHP. I\'m wondering about sanitizing user input. Do I need to manually sanitize data or will RedBeanPHP take care of that? RedBeanPHP uses PDO bindings t

I've be开发者_如何学Pythonen testing RedBeanPHP.

I'm wondering about sanitizing user input. Do I need to manually sanitize data or will RedBeanPHP take care of that?


RedBeanPHP uses PDO bindings to protect against SQL injection so you don't need to escape manually. However input validation (checking whether the input is valid) should be done using your own models or validation routines.

0

精彩评论

暂无评论...
验证码 换一张
取 消