Sorry for the long title, didn't want people just reading the title and not the question then going 'duplicate of xxx' when actually xxx is about sprocs etc...
So I am in a situation where I am very limited in what I can use. I am limited to classic ASP and querying using direct queries only - i.e. no stored procedures or parameterised queries.
What are my options here? I am thinking of replacing certain symbols, all if I can but I think in some cases certain symbols will need to be let through. I know the application I am writing this script for replaces all '
with ''
; this should be enough to get around the ' or 1 = 1
hack, but I don't know what other major risks there are to prevent.
I've read around a bit but everywhere is saying to go for parameterised queries or sprocs, which obviously are not an option for me.
Can someone give me some pointers on what I could do to make my application as secure as possible, given my limitations? Thanks in advance.