Last post Apr 14, 2008 05:02 AM by Thomas Sun – MSFT
Apr 11, 2008 11:37 AM|zwersbuck|LINK
How can I set IIS properties with the Web Deployment setup?
I'm specifically wanting to turn off anon access, and allow only windows authentication.
Right now I'm running my setup.exe, let it finish and then I do the following:
Go to IIS
Go to Properties for my app
Go to 'Directory' Security tab
Click 'Edit' button
Uncheck 'Enable anonymous access'
Check 'Integrated Windows Authentication'
My goal is to run the setup.exe and be done.
Web Deployment and IIS
Apr 14, 2008 05:02 AM|Thomas Sun – MSFT|LINK
To set the IIS Authentication of your website from Web setup project, you can try to create Installer Class Custom action to execute the custom code to access the installed website and then change the IIS properties.
For example, see Programmatically set IIS Authentication for a page.
I hope this helps.