How can get in ASP.NET user name and password from URL?
https://myUser:myPassword@myServer/
HttpContext.Current.Request.Url
is returning https://myServer/
.
You need to access the authentication headers.
Info about HTTP Authentication: http://en.wikipedia.org/wiki/Basic_access_authentication
Implementing it in asp.net: http://blog.smithfamily.dk/2008/08/27/ImplementingBasicAuthenticationInASPNET20.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With