现在我做了个网站是PHP+MYSQL得,现在有个黑客可以远程删除我得数据我不知道怎么防御?希望大家给我个建议谢谢了!

解决方案 »

  1.   

    1。MYSQL的权限系统可以限制IP的,具体请看帮助,他是你最好的老师。
    2。要知道黑客是如何删除你数据,假如是通过SQL注入、或攻击服务器后进入,此时他相当于是用本地帐户登陆数据库服务器,用以上方法是没有用的。
      

  2.   

    This issue is too wide to give you a proper answer.
    You should google it and then you'll get lots of what you want.
      

  3.   


    哈哈,楼上有语病:
    最好这样写:
    This issue is so wide that I cannot give you a proper answer.
    第二句的and最好去掉。
    1.设置库的访问权限,修改给用户的授权
    2.尽量用存储过程,以防止注入
      

  4.   

    Thanks for your advice.
    Whatever you express is both rights.^^