Re: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?
From: Douglas J. Badin (DJBadin_at_NOSPAM.msn.com)
Date: 01/26/04
- Previous message: Antti: "Problem with AspNetHostingPermissionLevel"
- In reply to: Yan-Hong Huang[MSFT]: "RE: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Next in thread: Yan-Hong Huang[MSFT]: "Re: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Reply: Yan-Hong Huang[MSFT]: "Re: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Reply: Yan-Hong Huang[MSFT]: "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 08:58:11 -0500
Hi Yanhong Huang,
You understand correctly.
The database of usernames and password is SQL Server and you are correct in
assuming I can get the Username and Password.
Your idea sounds interesting. I will have to check it out. The only
concern I have is that it will be a cross-domain cookie. Site A and N are
two different boxes in different locations. Right now I redirect to the IP
of Site N.
Thanks,
Doug
"Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
news:Dg$BY874DHA.568@cpmsftngxa07.phx.gbl...
> 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: Antti: "Problem with AspNetHostingPermissionLevel"
- In reply to: Yan-Hong Huang[MSFT]: "RE: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Next in thread: Yan-Hong Huang[MSFT]: "Re: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Reply: Yan-Hong Huang[MSFT]: "Re: Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?"
- Reply: Yan-Hong Huang[MSFT]: "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
|
|