Hello,
what is the code used to avoid SQL Injections.
I've done this in the past, but I forgot how to. Can you please provide all necessary details and how to avoid the sql injections.
I have SQL Server 2000, and I have several data types in my database. let's say I have several text boxes like below:
1) txtName
2) txtEmail
3) txtPhone
4) txtAge
How can I make sure that people using my web page won't cause an SQL Injection.
Also, what can I do if I'm reading a query string, can somebody cause an SQL injection in the link, and how to avoid it?
I'm a programmer so feel free to talk technically if you have an idea.
Thanks
Start Free Trial