I need an ASP or ASP.net script creating that performs the following functions:
1. Assigns Virtual Directories to a given site in IIS6
2. Assigns Permissions to a folder within this site for the IUSR_XXX account on the above site
3. Assigns Permissions to a series of folders on another site in IIS6 for the IUSR_XXX account on the above site
The server that the script will run on is the following spec:
- Windows Server 2003 64-bit
I already have half of this working using a Powershell script, but its a bit messy, so I would like an page creating which does all the above. The page needs to have the options configurable (initial site, folders for permissions etc). The page needs to run independently from any of the sites in the above steps..
Preferably I would like the page/script built using classic ASP, but will also accept ASP.net.