.NET Framework Bookmark and Share   
 index > .NET Framework Networking and Communication > Digest authentication issue in HTTPListener class
 

Digest authentication issue in HTTPListener class

Hello,
I have faced a problem when trying to authenticate a TCP connection via HTTPListener.
The authentication scheme of HTTPListener is set to Digest. While working the listener is blocked on the GetContext() function and responds with '401 Unauthorized' with 'WWW-Authenticate' header supplied.
The client (which is the external device) is processing the response, generating digest information ('Authorization' header) and sends the request again. The point is that the client is never properly authenticated.

My question is how the HTTPListener class is authenticating the incoming requests? The client is sending the username token in the 'Authorization' HTTP header, so how does the server knows the password?
How to create and link credentials of particular users with the HTTPListener?

Thanks,
Tomasz.
TeeF
Hello
I have the same problem - you already have a solution ?
thanks Hann
hke

You can use google to search for other answers

Custom Search

More Threads

• question about the update panels
• What Encoding To Fix my NetworkStream?
• HTTP status 407: Proxy Authentication Required +ISA Server
• End Asyncronous Task?
• Remote Desktop from c# but looking like usual dialog
• questions about send emails in c#
• Remote desktop sharing in .NET
• HttpWebRequest with client certificate doesn't work
• Error : Could not access 'CDO.Message' object.
• Network file transfer