A
antonyliu2002
I have a website (call it WinAuthWeb) that uses Integrated Windows
Authentication.
In my ASP.NET web application, I collect user name, password and
domain info and pass them to WinAuthWeb for authentication (formerly
known as NTLM).
I construct the user credentials like this:
theUserCredential = New NetworkCredential(username, userpassword,
userdomain)
And attach it to my HttpWebRequest object like this:
myRequest.Credentials = userCredential
I know that I can create an SSL channel and send this info over, but I
am specifically asking about regular HTTP transmission of such data.
I captured the traffic using Ethereal, and interestingly, I was not
able to find my user credentials in plain text in the packets. I did
see the web page returned from WinAuthWeb in plain text.
I cannot look into the implementation details of NetworkCredential, so
I am wondering if NetworkCredential class actually encrypts the user
credentials by default. Or does it Base64-encode it (I know this
isn't encryption, and thus insecure, but not human-readable)
Anyone knows about this? Thanks if you could share.
Authentication.
In my ASP.NET web application, I collect user name, password and
domain info and pass them to WinAuthWeb for authentication (formerly
known as NTLM).
I construct the user credentials like this:
theUserCredential = New NetworkCredential(username, userpassword,
userdomain)
And attach it to my HttpWebRequest object like this:
myRequest.Credentials = userCredential
I know that I can create an SSL channel and send this info over, but I
am specifically asking about regular HTTP transmission of such data.
I captured the traffic using Ethereal, and interestingly, I was not
able to find my user credentials in plain text in the packets. I did
see the web page returned from WinAuthWeb in plain text.
I cannot look into the implementation details of NetworkCredential, so
I am wondering if NetworkCredential class actually encrypts the user
credentials by default. Or does it Base64-encode it (I know this
isn't encryption, and thus insecure, but not human-readable)
Anyone knows about this? Thanks if you could share.