AlaskanDad
Programmer
This may be too simplistic so I'm really looking for some guidance here.
Is this a fix-all for preventing SQL Injection attacks through querystrings?
If Instr(1, Request.QueryString, ";"
Then Response.Redirect ("MyInfo.asp"
If Instr(1, Request.QueryString, "("
Then Response.Redirect ("MyInfo.asp"
I figure the only way they could throw in a SQL add-on would be through using a ; or a (.
I know this doesn't clean up my text box entries, but is this a good start?
Is this a fix-all for preventing SQL Injection attacks through querystrings?
If Instr(1, Request.QueryString, ";"
If Instr(1, Request.QueryString, "("
I figure the only way they could throw in a SQL add-on would be through using a ; or a (.
I know this doesn't clean up my text box entries, but is this a good start?