Hi, I wonder if someone could advise on the following.
I inherited this code, I am not a coder but have had some kind of hack and am looking at code to reduce its vulnerability. At the top of the page I have
in the where clause I have
I need to replace these for the query string, but do I also need to add an escape
Thanks for any advice.
Richard
I inherited this code, I am not a coder but have had some kind of hack and am looking at code to reduce its vulnerability. At the top of the page I have
Code:
nPage = CLng(Request.QueryString("Page"))
Keyword = Trim(Request.QueryString("Keyword"))
Code:
p.area LIKE '%" & Replace(Keyword, "_", " ") & "%'
Code:
p.area LIKE '%" & Replace(Keyword, "'", "''") & "%'
Thanks for any advice.
Richard
Comment