PC Review


Reply
Thread Tools Rate Thread

Anonymous and authenticated access with multilpe web.config files

 
 
=?Utf-8?B?QUFPTVRpbQ==?=
Guest
Posts: n/a
 
      17th May 2006
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
 
Reply With Quote
 
 
 
 
John Timney \( MVP \)
Guest
Posts: n/a
 
      17th May 2006
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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to migrate an anonymous profile to an authenticated one GeoffreyD Microsoft ASP .NET 2 29th Jan 2008 10:39 AM
Smart client and Windows authenticated access to app.config Sean Brandenburg Microsoft Dot NET Framework Forms 0 3rd Nov 2005 10:14 PM
How to Synchronize anonymous users with authenticated users using profiles? Rodusa Microsoft ASP .NET 2 8th Sep 2005 09:12 PM
no touch deployment : .config files not requiring anonymous access =?Utf-8?B?L2Rldi9udWxs?= Microsoft Dot NET Framework Forms 1 10th Jun 2005 04:11 PM
Re: Non anonymous access using smart client and config files Guenther Liebowitz Microsoft ASP .NET 3 14th Aug 2003 08:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:56 AM.