代碼安全-防sql注入

SQL注入 攻擊者輸入特定參數,來構造惡意sql語句攻擊數據庫。程序員 示例1: 登錄輸入密碼"123 or 1=1" sql語句:select * from user where name=inputName and password=123 or 1=1web 示例2: 用戶名輸入:'or 1 = 1– sql語句:SELECT * FROM user_table WHERE username
相關文章
相關標籤/搜索