Ask a Question related to ASP.NET Security, Design and Development.
-
Leo Gagne #1
Forms authentication and multiple login pages
Hi,
I use a "forms based" security scheme. As I understood
it, all I need is a "login" page (the unsecured one) and
the rest. I have a little problem with this approach...
multilingual web site!
My "default.aspx" page is blank and, in the Form_Load
event, I detect the configured language of the browser.
If I find a defined language that I support (English,
French, Chinese), I redirect the call to the
corresponding login page. If no specific language is
configured or if I don't support any of the desired
language, I redirect the browser to the English page.
How can I indicate in the "web.config" that there are
more than one "login" page? Otherwise, can I set one or
more pages' authorization to full access? Actually, I
put "default.aspx" in the "loginUrl" attribute of
the "forms" tag and, of course, it doesn't work because
the "en/mainpage.aspx" (the English login page) requires
authentication according to this schema.
Here's what is in my web.config:
<authentication mode="Forms">
<forms loginUrl="default.aspx" protection="All"
name="FvAutCookie" timeout="60" path="/" />
</authentication>
<authorization>
<deny users="?"/>
<allow users="*"/>
</authorization>
I read something about a "<location>" tag, but this
doesn't seem to work properly (maybe I don't use it
correctly...!)
<location path="en/mainpage.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
Thank you very much!
Leo Gagne Guest
-
Strange problem with Forms authentication: After successfull login, login page is still displayed
Hi there I have a quite strange problem with my ASP.NET-Application. The application has being deployed one year ago and worked fine till last... -
Login without Forms authentication
Hi! If I enable Forms authentication for a subdirectory in the web.config file, several types can't be loaded anymore (because the subdirectory... -
Forms Authentication without Login Page
Is there any way to log someone in using Forms authentication *without* using RedirectFromLoginPage()? My reason for asking is that I'm trying to... -
Authentication forms and SSL on the login page
Hi all, I'm tryiing to set up security for a ASP.NET web application in order to force all the users to go to a login page with an SSL connection.... -
Forms Authentication and Login Pages
Hi, I am creating a web application which have two different login areas. One for members and one for administrators. Currently, I am using forms...



Reply With Quote

