Caveatrob
Caveatrob

Reputation: 13287

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

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.

Upvotes: 3

Views: 1274

Answers (2)

Aykut Akıncı
Aykut Akıncı

Reputation: 1302

Not all sql stored procs are injection safe

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

Upvotes: 2

Rubens Farias
Rubens Farias

Reputation: 57996

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.

Upvotes: 6

Related Questions