Re: ASP application using ASP.NET Forms Authentication
- From: Dominick Baier <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 Jun 2007 07:56:23 +0000 (UTC)
You can do that - but it requires IIS6/ASP.NET 2.0 -
just do a wild card mapping in your app settings for the aspnet_isapi.
Then all calls will go through ASP.NET first, and thus through FormsAuth. But you have to find a way to "transport" the values you may care about (username, roles) from ASP.NET to ASP.
You can achieve that by deriving from DefaultHttpHandler. I wrote about it here:
http://www.leastprivilege.com/ProtectingNonASPNETResourcesWithASPNET20.aspx
I actually have a complete walkthrough of that scenario in my book (see below ;)
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)
Hi,
I´m working in an already developed and complex ASP Application, we
are now with some authentication problems and reading about it, I
discovered that Forms Authentication can solve our problems. Is it
possible to use forms authentication without chaging all de
application to a .NET plataform ?
Thanks,
Leandro David
.
- Follow-Ups:
- Re: ASP application using ASP.NET Forms Authentication
- From: Leandro David
- Re: ASP application using ASP.NET Forms Authentication
- References:
- ASP application using ASP.NET Forms Authentication
- From: Leandro David
- ASP application using ASP.NET Forms Authentication
- Prev by Date: Login destinationpageurl error: 26 - Error Locating Server on deployment
- Next by Date: ASP.NET 2.0 with ADAM - COMException when accessing roles
- Previous by thread: Re: ASP application using ASP.NET Forms Authentication
- Next by thread: Re: ASP application using ASP.NET Forms Authentication
- Index(es):
Relevant Pages
|