RE: HTTP Protocol Bug ???

From: Ravi Raman (ravira_at_Online.microsoft.com)
Date: 10/13/04


Date: Wed, 13 Oct 2004 10:48:28 -0700

Since the behavior is same for "deny for both Describe and
Open" and "deny for Describe", I think it may be better to
go with the first logic (i.e, use the same logic for both
Describe and Open).

Is there a reason why you don't want to do it that way?

Thx,
Ravi

--
This posting is provided "AS IS" with no warranties, and 
confers no rights.
>-----Original Message-----
>Thank you very much indeed
>
>Effectively if I both authorize DESCRIBE and OPEN it 
works , that's if I use 
>http
>and my plugin responds 200 OK to DESCRIBE and 401 to OPEN 
I get problem,
>instead dialog box appears if I both deny  DESCRIBE and 
OPEN  or just ony the
>DESCRIBE event one.
>
>So I've changed my custom plugin to handle ONLY the 
DESCRIBE event that 
>seems to be always raised if I request a media on WMS9 or 
I make WMP9 open 
>..NSC file
>with unicast rollover url
>
>Can I be safe with WMS_EVENT_DESCRIBE even if it's not 
guaranteed???
>
>Anyway Thanks for your help and timeliness
>
>Bye bye Alberto
>
>"Ravi Raman" wrote:
>
>> Can you modify your authorization plug-in so that it 
>> authorizes both DESCRIBE and OPEN events and see if 
that 
>> makes any difference? Also, can you try authorizing all 
of 
>> DESCRIBE, OPEN and PLAY?
>> 
>> Thx,
>> Ravi
>> --
>> This posting is provided "AS IS" with no warranties, 
and 
>> confers no rights.
>> >-----Original Message-----
>> >Please to meet you,
>> >
>> >If I disable my custom plugin and enable WMS 
Publishing 
>> Points ACL
>> >Authorization and I deny read access to anonymous 
user, 
>> it all works 
>> >properly and I get dialog box.
>> >
>> >Instead with WMS Publishing Points ACL Authorization 
>> enabled, allowing
>> >read access to anonymous user, if I also enable my 
custom 
>> Authorization
>> >plugin or even the one I wrote that always responds 
>> E_ACCESSDENIED,
>> >I get the problem using HTTP protocol !  
>> >
>> >A work around I tried was to write a Custom 
>> Authentication Anonymous 
>> >Plugin and if the media file requested is "protected" 
I 
>> don't let anonymous   
>> >user to enter, responding WMS Authentication Denied 
and 
>> it works fine 
>> >both with mms, rtsp and http.
>> >
>> >Anyway I prefer this control to be done at 
Authorization 
>> Level so I can use
>> >WMS Anonymous User Authentication and its good 
>> performance.
>> > 
>> >"Ravi Raman" wrote:
>> >
>> >> When you disable your custom plug-in and enable one 
of 
>> >> the WMS Authorizatin plug-ins (say "WMS Publishing 
>> Points 
>> >> ACL Authorization") and you use HTTP, do you get a 
>> dialog 
>> >> box on the client?
>> >> 
>> >> Thx,
>> >> Ravi
>> >> ---
>> >> This posting is provided "AS IS" with no warranties, 
>> and 
>> >> confers no rights.
>> >> 
>> >> >-----Original Message-----
>> >> >Hello, I've experienced this situation:
>> >> > 
>> >> > WMS Anonymous User Authentication  ENABLED
>> >> > WMS Digest Authentication  ENABLED
>> >> > Custom Authorization Plugin ENABLED
>> >> >
>> >> >All the other plugins are disabled.
>> >> >
>> >> >The event to authorize is OPEN, if custom 
>> authorization 
>> >> fails for the
>> >> >first time I expect to see the Dialog Box to enter 
>> >> network password
>> >> >and that happens if I use mms or rtsp protocol but 
not 
>> >> with http, in
>> >> >this case WMP9 remains in buffering with the window 
>> >> black in
>> >> >underground and no Dialog Box appears !!!!!
>> >> >I've tried also with this dummy Authorization 
Plugin: 
>> >> >
>> >> >	void IWMSEventAuthorizationPlugin.AuthorizeEvent(
>> >> >		ref WMS_EVENT pEvent,
>> >> >		IWMSContext pUserCtx,
>> >> >		IWMSContext pPresentationCtx,
>> >> >		IWMSCommandContext pCommandCtx,
>> >> >		IWMSEventAuthorizationCallback pCallback,
>> >> >		object Context)
>> >> >	{
>> >> >		string HRESULT = "E_ACCESSDENIED";
>> >> >		
>> >> >		int hr = unchecked((int)
>> >> 0x80070005); //E_ACCESSDENIED
>> >> >                pCallback.OnAuthorizeEvent(hr, 
>> Context);
>> >> >		FileAppend(HRESULT);
>> >> >	}
>> >> >
>> >> >and I can see that pCallback works properly but any 
>> >> Dialog Box appears
>> >> >for Digest Authentication in WMP9, if I use http:// 
to 
>> >> call the media
>> >> >file.
>> >> >
>> >> >Please Help me
>> >> >
>> >> >Bye bye to All!
>> >> >
>> >> >Bye Bye Alberto
>> >> >.
>> >> >
>> >> 
>> >.
>> >
>> 
>.
>


Relevant Pages

  • RE: HTTP Protocol Bug ???
    ... Can you modify your authorization plug-in so that it ... >If I disable my custom plugin and enable WMS Publishing ...
    (microsoft.public.windowsmedia.server)
  • ASP.NET 2.0 Authorization based on Combination of Allow/Deny Users/Roles.
    ... The problem with Authorization is it stops at the first match and doesn't ... On the Web Site, I am trying to Secure Page Access and SiteNaviagation by ... it stop when it sawn they were in the Customer Role ... I don't want to deny the User Role because U1 would be stopped. ...
    (microsoft.public.dotnet.framework.aspnet)
  • ASP.NET 2.0 Authorization based on Combination of Allow/Deny Users/Roles.
    ... The problem with Authorization is it stops at the first match and doesn't ... On the Web Site, I am trying to Secure Page Access and SiteNaviagation by ... it stop when it sawn they were in the Customer Role ... I don't want to deny the User Role because U1 would be stopped. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: HTTP Protocol Bug ???
    ... If I disable my custom plugin and enable WMS Publishing Points ACL ... Instead with WMS Publishing Points ACL Authorization enabled, ... read access to anonymous user, if I also enable my custom Authorization ...
    (microsoft.public.windowsmedia.server)
  • RE: HTTP Protocol Bug ???
    ... and my plugin responds 200 OK to DESCRIBE and 401 to OPEN I get problem, ... >>If I disable my custom plugin and enable WMS Publishing ... >>Instead with WMS Publishing Points ACL Authorization ... >>read access to anonymous user, if I also enable my custom ...
    (microsoft.public.windowsmedia.server)