sql 防止注入,用 base64 对用户输入内容进行预处理,是否可行?

 4 years ago
source link: https://www.v2ex.com/t/534952
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
MySQL - @mostkia - 如题,相对于 PDO 来讲,肯定是 PDO 更好,但按照题目里的说法,是否可行呢?(我使用的是 SQLite )

About Joyk

Aggregate valuable and interesting links.
Joyk means Joy of geeK