SQL Injection in .NET

后端 未结 5 1493
自闭症患者
自闭症患者 2021-01-23 17:01

Hi I was wondering if anyone knew of some good websites detailing prevention for SQL injection for .NET web applications. Any resources would be greatly appricated, thank you.

5条回答
  •  星月不相逢
    2021-01-23 17:51

    If you use the SqlCommand.Parameters collection to pass parameters and never inject user text into you Sql query text, there's no risk.

提交回复
热议问题