SQL injection on Classic ASP pages with parameteri

2020-03-26 03:01发布

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 injection.

2条回答
你好瞎i
2楼-- · 2020-03-26 03:37

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.

查看更多
再贱就再见
3楼-- · 2020-03-26 03:55
登录 后发表回答