I'm sure this has been done before, but it was faster to write it than to google for it. There's some IP Addresses that have been bothering me and I don't have access to a firewall or IIS at my ISP, so...
I can upload a text file called blockedips.txt to my site and the changes happen immediately.
And in your web.config:
No warrenty, express or implied. If it sucks or has bugs/security holes, let me know as it's 9 minutes work.
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.