You will likely get away with one web.config, and something called the
location element, but its not quite that straightforward.
Take a read of this:
http://www.howtodothings.com/compute...ith-roles.html
--
Regards
John Timney
Microsoft MVP
"AAOMTim" <(E-Mail Removed)> wrote in message
news:BE8F9DFD-64CA-4B0C-869F-(E-Mail Removed)...
>I have a web project in which I would like to structure my top level
> directory to provide a user with anonymous access and a subdirectory for
> secure access that uses forms-based authentication. I'm under the
> impression
> that I need 2 web.config files: one in my top level directory for
> anonymous
> access and one in my underlying secure directory for authenticated access.
> Can anyone point e to some specific examples of how to do this, what
> issues
> are involved, and how to set up virtual directories for each in IIS? I'd
> like to structure my code all in one web site (if that is possible) using
> Visual Studio 2.0.
>
> Thank you,
>
> Tim
> --
> Tim