I noticed some XSS attempts on some of our sites due to some old URL's raising the errors. ie. http://www.mysite.com/[some old keyword]/searchterm .
These sites are MVC3 sites, and from my understanding of using the anti-forgery token - this is only good for POST requests.
I don't think I want to limit all requests to the URL's, as some could be valid requests (ie. GoogleCrawler).
What are some ways to avoid/deter XSS attacks in this scenario?
Once I have the offending IP addresses, is there a way to use APPCMD to add IP addresses to the DENY list in IIS, similar to a solution using APPCMD to add new websites to IIS based on a list?
I'm asking because I'm noticing several IP addresses attempting cross-site scripting attacks on several of our sites. I would like to create a list of these (and possibly read a list from somewhere like http://www.ipfraudreporter.com) and load these up onto our server.