For my login control I’m using parameters in an SQL statement. Trouble is if people use SQLinjection, I’m afraid they’ll be able to get in too.
I have two textboxes and the values are passed on to an SQL statement, this checks whether the values are found in the DB.
Is there a way to make sure this isn’t possible? I know in PHP you need to use something infront of the textboxes.
Thanks for your time!
Use parameters in your queries:
And the equivalent in VB.net: