开发者

RedBeanPHP & User Input Data Sanitation

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜