SQL injection on Classic ASP pages with parameterized queries: text fields

前端 未结 2 1612
孤城傲影
孤城傲影 2021-01-14 15:35

I\'ve parameterized my queries in my Classic ASP app, but am unsure whether I need to sanitize or scrub free text fields or if the parameterization is sufficient to prevent

相关标签:
2条回答
  • 2021-01-14 16:02

    Not all sql stored procs are injection safe

    http://palisade.plynt.com/issues/2006Jun/injection-stored-procedures/

    0 讨论(0)
  • 2021-01-14 16:03

    If you use parametrized queries, you're safe against SQL injection attacks.

    But not for XSS attacks; some user could to insert HTML content (think about <script>, <object> tags) into your database and, at some page, another user get that potentially malicious code executed.

    0 讨论(0)
提交回复
热议问题