SQL Injection in .NET

后端 未结 5 1539
自闭症患者
自闭症患者 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:47

    the first thing to know is to parameterize your queries or use stored procs....

    Never use ad-hoc sql in code where you just append the value

    give only read and write permissions (or only read for those pages that should not write)

提交回复
热议问题