RE: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?
From: Yan-Hong Huang[MSFT] (yhhuang_at_online.microsoft.com)
Date: 01/26/04
- Previous message: Ken Cox [Microsoft MVP]: "Re: Where to store your salt"
- In reply to: Douglas J. Badin: "Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Next in thread: Douglas J. Badin: "Re: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Reply: Douglas J. Badin: "Re: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 26 Jan 2004 03:46:34 GMT
Hello Douglas,
Thanks for posting in the group.
Based on my understanding, now the question is: You have one asp
application which uses basic authentication and one asp.net applicaiton
which uses forms authentication. The user ID and password database is the
same for these two web applications. Now, - User Logs in to Site A (ASP) by
using user name and passoword, Site A redirects the User to Site N
(ASP.NET). Can Site A programitically pass the credentials, UserID and
Password, to
Site N so the user does not have to logon a second time? Please correct me
if I have misunderstood anything.
Here I thought of a method. Since we are using basic authentication in Site
A (ASP), so we can get username and password in ASP web application first
and store it in the cookie. When the Site A redirectes users to Site N
(ASP.NET), it will redirect to forms authentication auto-login page. In the
Page_Load of that page, we can fetch the user name and password from cookie
and authenticate the user programmatically. So the client doesn't need to
input username and password again.
Does that answer your question? If there is any unclear, please feel free
to post here.
Ps: In ASP programming, if we use basic authentication, we can only use
username and password in NT domain. What database do you mean in the
sentence "The ASP site A uses Basic Authentication and has the user enter a
UserID and Password that are Authenticated against a database."? Do you
mean authenticate the user name and password in NT domain?
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
- Previous message: Ken Cox [Microsoft MVP]: "Re: Where to store your salt"
- In reply to: Douglas J. Badin: "Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Next in thread: Douglas J. Badin: "Re: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Reply: Douglas J. Badin: "Re: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|