RE: Forms Authentication and SSL

From: Patrick C. Cole (patcole@online.microsoft.com)
Date: 10/02/02


From: patcole@online.microsoft.com (Patrick C. Cole (MS))
Date: Wed, 02 Oct 2002 17:41:40 GMT


Kipp,

You will need to put the full address in the loginUrl attribute. The login
dialog you mention may be that you do not have Anonymous access set for the
site. Having NTLM or Basic would prompt the user for authentication.

Hope this helps,

Patrick Cole
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.

--------------------
| From: "Kipp Hawley" <kh@traxonline.com>
| Subject: Forms Authentication and SSL
| Date: Tue, 1 Oct 2002 17:38:45 -0700
| Lines: 27
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
| Message-ID: <OMSJovaaCHA.1332@tkmsftngp11>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.security
| NNTP-Posting-Host: 64.167.199.132
| Path: cpmsftngxa09!cpmsftngxa06!tkmsftngp01!tkmsftngp11
| Xref: cpmsftngxa09 microsoft.public.dotnet.framework.aspnet.security:2416
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
|
| Greetings -
| After getting Forms Authentication working I took the next step of using
SSL
| for the login page. The login page is in the same directory as the rest of
| the web's pages, and is the only one set to use SSL. If I browse directly
to
| it there is no problem, but I can't find a way to get Forms Authentication
| to use it properly. If I just set login.aspx as the loginURL, the browser
| puts up the "You need to use https://..." message, and after inserting the
| 's' in the address bar it goes fine. This won't cut it for real users,
| though. On the other hand, if I use https: in the loginURL, I can't get it
| to work without using the entire absolute address, and, worse yet, when I
| get redirected to login.aspx I get a Windows login screen.
|
| Any ideas? How do others implement SSL for Forms Authentication?
| Here's the web.config code:
|
| <authentication mode="Forms" >
| <forms loginUrl = "https://myserver/testapp/login.aspx" name =
"TestAuth"
| />
| </authentication>
| <authorization>
| <deny users="?" />
| </authorization>
|
| Thanks for your help,
| Kipp Hawley
| Trax Softworks, Inc.
|
|



Relevant Pages

  • Re: Forms Authentication and SSL
    ... Kipp, ... I was thinking that another workaround would be to have the login page ... | Subject: Re: Forms Authentication and SSL ... Compare this to when the loginUrl is simply the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Forms Authentication and SSL
    ... Kipp, ... | Subject: Re: Forms Authentication and SSL ... login dialog - we do have Anonymous access set for the site as well as ... Compare this to when the loginUrl is simply the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Forms Authentication and SSL
    ... login dialog - we do have Anonymous access set for the site as well as ... Windows Authentication (needed so developers can work with the files through ... Compare this to when the loginUrl is simply the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Forms Authentication and SSL
    ... After getting Forms Authentication working I took the next step of using SSL ... for the login page. ... On the other hand, if I use https: in the loginURL, I can't get it ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • [Full-Disclosure] Advisory: Dark Age of Camelot - Weak encryption of network traffic exposed persona
    ... Weak encryption in game client exposed customer billing and authentication ... encryption for billing information. ... The login binary has undergone several updates since then. ...
    (Full-Disclosure)