SQL注入分類、防護

1、SQL注入分類 按數據類型分 數字類型mysql 後臺語句可能爲:web $id=$_POST['id'] select user,password from users where id=$id 字符類型sql $id=$_POST['id'] 後臺語句可能爲:select user,password from users where id='$id' 總結:數據庫 數字類型直接將後臺接收到
相關文章
相關標籤/搜索