views:

8

answers:

0

I have an installer that installs and sets up an intranet web site 'ABC' under the Default Web Site. The ABC site directory is set up to have anonymous access enabled and Windows authentication disabled, so all the pages under the site inherit that access behavior. However, one page that lets users logon with Windows authentication has to individually have the anonymous access disabled and the Windows authentication enabled. The installer is able to change these access settings on a file with IIS 6 using a CScript call to AdsUtil.vbs. But, after many attempts, I cannot find the correct syntax to change these access settings for a single file with IIS 7.x using AppCmd.exe. Is AppCmd.exe the tool to use for changing these access settings for a single file, and if so what parameters would work with AppCmd to change the IIS 7 metabase? Any help is greatly appreciated. -albel