Re: Web.config file

From: Rick Spiewak (rickspiewak_at_mindspring.com)
Date: 04/26/04


Date: Mon, 26 Apr 2004 09:20:21 -0400

You can use a <location> element to set up different authentication for each
folder.

"ruca" <ruuca@iol.pt> wrote in message
news:eehJXL4KEHA.2456@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I have an application that I want to setup for each folder a web.config
file
> with different authentication, but when I try to do that it gives me an
> error saying that maybe that folder is not configured in IIS as virtual
> directory.
>
> In the root I don't want to have redirect to login page if i try to access
> any file in the root.
> If I want to access to any FOLDER present in application root I want to
> redirect to the Login page with authentication Forms type.
>
> I already try to put one we.config file in each folder but the error
> described above occurs.
> --
> Programming ASP.NET with VB.NET
> Thank's (if you try to help me)
> Hope this help you (if I try to help you)
> ruca
>
>



Relevant Pages

  • <Location> and Form Authentication Question (please help)
    ... a hand with a problem I am having with authentication. ... The folder I wish to make secure ... The prompt for login works fine (a ... the secure folder seems to be breaking the link ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Forms Authentication - Cookie not being generated...
    ... You should have only ONE web.config (root folder) with all these entries. ... access with Forms authentication so your login page (and all protected ... Check out the authorization configuration in both the root and ClientCenter ... I am not redirected to the login page. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Getting windows logon when using forms authentication
    ... Maybe the authentication type is not Forms, ... doesn't have access rights to that file, thus the login prompt. ... same folder as the where the authentication occurs? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Showing folder size of users folders: Authentication(!)
    ... it is an authentication issue. ... use "net use" within your code to get the ASPNET account to ... login under whatever user account you want. ... > on server shows the size of the folder. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Showing folder size of users folders: Authentication(!)
    ... "Granger Godbold" wrote in message ... it is an authentication issue. ... > login under whatever user account you want. ... >> on server shows the size of the folder. ...
    (microsoft.public.dotnet.framework.aspnet)

Loading