I'm looking to make a few asp functions to defend against attacks. The function will loop through an array, checking each item against the incoming statement. So, my question is, what are all the things I need to check for in my incoming statement?
Here are my arrays:
Are these all necessary, and are there any I've missed? Thanks for any help or pointers.
Here are my arrays:
Code:
SQLCheck=array("select", "drop", ";", "--", "insert", "delete", "'")
HTMLCheck=array("<", ">", "javascript")
Comment