Deny IIS6 web request based on URL parameters?
Posted
by
user21146
on Server Fault
See other posts from Server Fault
or by user21146
Published on 2011-11-11T20:30:38Z
Indexed on
2011/11/12
9:57 UTC
Read the original article
Hit count: 179
iis6
I've got a legacy app running a third-party ecommerce system under IIS6. Some spammers recently discovered a bad security vulnerability in one of the store's forms, which are allowing them to send arbitrary emails from our system. Unfortunately, this store "feature" is built into the default.aspx page's code-behind and I have no way to disable it without shutting down the store.
How can I filter out URL request with a given querystring parameter? ie, I want to filter out requests to:
http://www.mysite.com/store/?id=SendSpam
based on the "SendSpam" string.
© Server Fault or respective owner