I have a whole bunch of sites hosted on an IIS6 box and I'd like to restrict access to any first level sub-directories with a name starting with
admin to a particular group of IP addresses. Obviously this should restrict access to the directory and all their contents.
I don't really want to go through each site, right clicking a matching sub-directory and manually changing the directory access settings.
Is there a way to script this or set up a global rule?
I read about web.config but that seems to only apply to IIS7 and also needs APS.NET configured which we do not have at the moment. All these sites are running PHP.
Are there any other methods that I could look into?