Are there any differences between SQL Server and MySQL when it comes to preventing SQL injection?

后端 未结 9 2465
北荒
北荒 2021-02-13 17:21

I am used to developing in PHP/MySQL and have no experience developing with SQL Server. I\'ve skimmed over the PHP MSSQL documentation and it looks similar to MySQLi in some of

9条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-13 17:47

    it is not the tool that allows SQL injection attacks, it is the programmer and how they use it. both mysql and sql server allow you to get injected if you code incorrectly (blindly concatenate strings to create dynamic sql) and both provide parameter binding to avoid it.

提交回复
热议问题