Re: ASP application using ASP.NET Forms Authentication
- From: Leandro David <leandrodvd@xxxxxxxxx>
- Date: Wed, 06 Jun 2007 19:58:17 -0000
Let me explain the problem:
I have an application with lots and lots of .asp files. At the moment
we don´t have time and people enough to recode all the .asp pages
to .aspx pages.
Today we do user authentication using sessions at .asp files.
But the biggest problem in the moment is the authentication in other
types of files, like html, jpg, pdf and other files. These are users
files, and they are stored at specific folders in the server. I saw
somewhere that using forms autentication I can configure the
web.config file to deny unauthenticated people to read the files in
these folders, after configuring the mapping in IIS for extensions
like .htm, .jpg, .pdf... . This is the unique resource I plan to use
What I´m planning now is to keep the authentication as it is done
today (using sessions) at the .asp files ( it works ok) and, when the
user log in the application, redirect to a login.aspx page where the
forms authentication is done automaticaly. This way I can configure
web.config in the folders that have users files.
Is it possible or still makes no sense ?
Thanks for the help,
Leandro
.
- Follow-Ups:
- Re: ASP application using ASP.NET Forms Authentication
- From: Alexey Smirnov
- Re: ASP application using ASP.NET Forms Authentication
- References:
- ASP application using ASP.NET Forms Authentication
- From: Leandro David
- Re: ASP application using ASP.NET Forms Authentication
- From: Alexey Smirnov
- ASP application using ASP.NET Forms Authentication
- Prev by Date: Error Hosting ASP.NET 2.0 though UNC
- Next by Date: Re: ASP application using ASP.NET Forms Authentication
- 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
|
|