I want to be able to deny access to all but a defined set of IP addresses for a particular .axd in IIS.
At the moment, I'm doing this in the code for the axd (it's a managed handler written in C#)
Is there a way I can do this through configuration (ideally changing web.config) ?
Thanks!
Here is how I did this using IIS6:
myhandler.axd
Caution: the settings seem to persist even if the dummy file is deleted.