It might look slightly different for ASP pages and MSSQL but the idea is basically the same filter out any characters from the user input which could alter your query's
a good practice is to put the user input first in a variable run some filters over that var before adding it to your query.. never include user input directly at the place of the query.. if you feel the need to include it with filter functions around it.
__________________
------
Offcourse its a dude posting here. Probably a fut ugly one too. Fuck still people falling for this 100 year old trick
|