MySQL注入保护和漏洞标志使用PHP [英] MySQL injection protection and vulnerability signs using PHP
本文介绍了MySQL注入保护和漏洞标志使用PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
保护MySQL注入的最佳方式是什么?什么是我应该注意的弱点?
What are the best ways to protect from MySQL injection? What are weaknesses I should look out for?
我知道它是什么,但我真的不知道我可能是多么脆弱。虽然我已经采取了(我认为是)保护自己和我的数据库的步骤。
I know what it is, but I really have no idea how vulnerable I might be. Though I have taken (what I think to be) steps toward protecting myself and my database.
有没有确定的方法阻止某人?
Is there any sure-fire way of stopping someone?
BTW ...我用PHP写:)
BTW...I write in PHP:)
推荐答案
请参阅
- http://dev.mysql.com/tech-resources/articles/4.1/prepared-statements.html
- PDO ::准备
- mysqli ::准备
- http://dev.mysql.com/tech-resources/articles/4.1/prepared-statements.html
- PDO::prepare
- mysqli::prepare
see
您可能还对 http:/ /shiflett.org/articles/sql-injection 和 http: //shiflett.org/blog/2007/sep/the-unexpected-sql-injection
这篇关于MySQL注入保护和漏洞标志使用PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文