摘要
随着网络应用的不断丰富,以及人们对于数据安全的重要性也不断加强,数据库的信息安全也逐渐被重视。数据库的攻击最常见的一种方法是SQL注入攻击。本文通过对SQL注入攻击的原理及常用技术手段的分析,借助MySQL函数的方法,对MySQL注入攻击的防范提出了通过浏览器和服务器两端进行双重防御的解决方法。
With the enrichment of network applications, and the importance of the data security has been strengthened, People also gradually pay attention to the security of database information. One of the most common methods of database of the attack is SQL injection attacks.Through analyzing the principle against SQL injection attacks and commonly used technical means, with the aid of the method of MySQL function, guard against MySQL injection attacks method is proposed to solve the double defense through the browser and server ends.