Tuesday, April 5, 2011

How to debug SqlDataSource

I'm testing my site against SQL injection attacks and I would like to trace SqlDataSource messages sent to SQL server. How can I do that or at least get as close as I can.

From stackoverflow
  • SqlDataSource uses parametrized queries internally and normally that's enough for avoiding SQL Injection.

    Here you an MSDN article to check

    How To: Protect From SQL Injection in ASP.NET

    Sergej Andrejev : Thanks. I suspected it would.

0 comments:

Post a Comment