IIS 6 & forms authentication & redirect
From: Grzegorz Kaczor (grzegorz.kaczor_at_cc.com.pl)
Date: 02/07/05
- Previous message: Frederic H: "Re: Authentification IIS / Active Directory"
- Next in thread: David Wang [Msft]: "Re: IIS 6 & forms authentication & redirect"
- Reply: David Wang [Msft]: "Re: IIS 6 & forms authentication & redirect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 07 Feb 2005 16:36:27 +0100
Hello,
I have an ASP.NET application in my website in virtual folder A. This
folder contains the application itself. I also have a data virtual
directory B which contains data that can be seen by authenticated users.
I've implemented forms authentication (with application in folder A) in
a standard way. I've also set up a redirection in IIS so that every
request concerning folder B (for example GET /B/a/b/c) is redirected to
A/GetFile.aspx (so the final request is A/GetFile.aspx/a/b/c). This way
I can protect contents of the B folder with forms authentication.
Now I use the A application to find interesting documents in folder B.
I find them and get a list of links, starting with /B... . I click on
one of them and I HAVE TO AUTHENTICATE ONCE AGAIN to get access to that
file.
Is it possible to perform a redirect in the same authentication context?
Shall the problem occur if I make B be a subdirectory of A?
Thanks
Grzegorz Kaczor
- Previous message: Frederic H: "Re: Authentification IIS / Active Directory"
- Next in thread: David Wang [Msft]: "Re: IIS 6 & forms authentication & redirect"
- Reply: David Wang [Msft]: "Re: IIS 6 & forms authentication & redirect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|