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/27/04
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: Framework v1.1 & LogonUser workaround"
- Previous message: Ken Schaefer: "Re: Network Credentials not passing in Authentication mode"
- In reply to: Douglas J. Badin: "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?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 Jan 2004 01:38:32 GMT
Hello Douglas,
Thanks very much for the quick update.
If the Site A and N's DNS name is different, for an example, www.sitea.com
and www.siten.com, the cookie can't work, because the cookie is based on
DNS name. If the name of DNS is different, the cookie will look on them as
different web sites and they won't share the cookies.
Another way is to transfer username and password in QueryString, such as
www.siten.com\login.aspx?username=****&password=****. Then in Page_Load of
login.aspx, we can use NameValueCollection coll=Request.QueryString to get
the username and password. Surely we can use some algorithm to secure the
username and password when putting it in QueryString.
If there is anything unclear, please feel free to post here.
By the way, we can send post notify email to you when there is useful reply
in the newsgroup. If you want to receive it in the future, please register
your no spam email alias at
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn.
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.
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: Framework v1.1 & LogonUser workaround"
- Previous message: Ken Schaefer: "Re: Network Credentials not passing in Authentication mode"
- In reply to: Douglas J. Badin: "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?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|