Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows Media Server / September 2004

Tip: Looking for answers? Try searching our database.

Digest Plugin

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alberto - 25 Jul 2004 19:27 GMT
Hy staff,just only little advices if you can....

I've successfully implemented a Digest Authentication Plugin:

 string AUTH_REALM = "registered_users@mydomain.com"
 string AUTH_QOP = "auth";
 strNonce = GenerateNonce() //It's evaluated Datetime.Now + 3
 Challenge=Enc.GetBytes("realm=\"" + AUH_REALM + "\",qop=\"" +
AUTH_QOP + "\",nonce=\"" + strNonce + "\", charset=utf-8");

I don't use MD5-sees but classic MD5 because if I specify that
algorithm in the challenge I receive error by WMP9 of per-message not
supported  ??????????

To capture values in the Response I use a dictionary:

 ListDictionary dict = new ListDictionary();
 string[] parts = strResponse.Split(new char[] {','});

A strange thing is that (string)dict["realm"] = "",that is WMP9
doesn't take me
back the value of the realm the Server send in the Challenge!!!!!!!

Anyway I can successfully reconstruct strDigestHash being careful of
using Algoritm MD5 and not MD5-sees.

If Anyone can tell me how to adjust realm and what about per-message
error....

Bye bye to All!
lcs - 19 Sep 2004 07:31 GMT
Can you send a example about the plgin to me and I want to see it.Thanks.
My mail is lcs75@sina.com

> Hy staff,just only little advices if you can....
>
[quoted text clipped - 26 lines]
>
> Bye bye to All!
Alberto - 26 Sep 2004 22:41 GMT
I can't show you all ...
I don't know which aspect of the plugin are you interested for, please
be more specific and I'll see to help you.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.