RE: forms authentication
From: Bassel Tabbara [MS] (basselt@online.microsoft.com)
Date: 01/28/03
- Next message: Mary Chipman: "Re: Web.config"
- Previous message: Mark Finkel: "forms authentication"
- In reply to: Mark Finkel: "forms authentication"
- Next in thread: Mark Finkel: "RE: forms authentication"
- Reply: Mark Finkel: "RE: forms authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: basselt@online.microsoft.com (Bassel Tabbara [MS]) Date: Tue, 28 Jan 2003 20:05:50 GMT
Hello Mark,
You need to add the <authorization> section. In this section you will deny
access to the anonymous user as follows:
<authorization>
<deny users ="?" />
<allow users = "*" />
</authorization>
For more information on how to implement Forms-Based Authentication refers
to one of the following Kb articles:
308157 HOW TO: Implement Forms-Based Authentication in Your ASP.NET
Application
http://support.microsoft.com/?id=308157
301240 HOW TO: Implement Forms-Based Authentication in Your ASP.NET
Application
http://support.microsoft.com/?id=301240
Thanks,
Bassel Tabbara
Microsoft, ASP.NET
This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Mark Finkel" <mark.finkel@us.gases.boc.com>
| Sender: "Mark Finkel" <mark.finkel@us.gases.boc.com>
| Subject: forms authentication
| Date: Tue, 28 Jan 2003 11:11:19 -0800
| Lines: 10
| Message-ID: <008201c2c701$0a2f1e30$d6f82ecf@TK2MSFTNGXA13>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcLHAQovTFMJBjExTVOWS7Mu08QjvQ==
| Newsgroups: microsoft.public.dotnet.framework.aspnet.security
| NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
| Path: cpmsftngxa08!cpmsftngxa06
| Xref: cpmsftngxa08 microsoft.public.dotnet.framework.aspnet.security:3821
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
|
| I can't get to first base with forms authentication.
| ASP.NET just ignores it and sends the user anyplace he
| wants to go. I have this in the config file:
|
| <authentication mode="Forms" >
| <forms name = "auth" loginUrl = "/login.aspx">
| </forms>
| </authentication>
|
| Any idea why it is ignored?
|
- Next message: Mary Chipman: "Re: Web.config"
- Previous message: Mark Finkel: "forms authentication"
- In reply to: Mark Finkel: "forms authentication"
- Next in thread: Mark Finkel: "RE: forms authentication"
- Reply: Mark Finkel: "RE: forms authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]