Re: Web site vs Virtual Directory
am 31.03.2008 19:34:48 von Ken SchaeferHi there,
"william"
news:AE04F1A8-9407-429E-8546-6E6CF86E5155@microsoft.com...
> HI,
>
> I have a web application, which is deployed as Virtual Directory on the
> default web site. My web application uses forms authentication mode, so I
> set
> the security access to allow anonymous access on the Virtual Directory.
> What
> happens if :
> senario 1. the access setting on the default web site is both allow
> anonymous access and windows integrated modes.
> senario 2. the access setting on the default web site is windows
> integrated
> only.
IIS maintains a heirachical set of nodes, with properties definable at each
node level. Provided that an administrator has not "locked" the
configuration at a higher level (i.e. prevented overriding of settings),
it's possible to have alternate settings configured at a lower node level to
what is configured at a higher node level:
Server <- default settings inherited by all websites
+ Website1 <- will inherit settings unless specifically configured
otherwise
+ WebApp1 <- will inherit settings unless specifically configured
otherwise
+ WebApp2 <- will inherit settings unless specifically
configured otherwise
+ WebPage1 <- will inherit settings unless
specifically configured otherwise
In your case, it's perfectly OK to have Windows AuthN set at a higher node
(server level) whilst configuring Anonymous AuthN at a lower node (your web
application).
HTH
Cheers
Ken
--
My IIS blog: http://adopenstatic.com/blog