RE: HTTP Protocol Bug ???

From: Alberto (Alberto_at_discussions.microsoft.com)
Date: 10/11/04


Date: Mon, 11 Oct 2004 02:53:02 -0700

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 ???
    ... 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)
  • 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)
  • RE: HTTP Protocol Bug ???
    ... Open" and "deny for Describe", I think it may be better to ... >and my plugin responds 200 OK to DESCRIBE and 401 to OPEN ... >> Can you modify your authorization plug-in so that it ... >>>If I disable my custom plugin and enable WMS ...
    (microsoft.public.windowsmedia.server)
  • Re: Custom authorization plug-in
    ... We have the same issue with Windows Server 2008. ... to implement some authorization interfaces also to just disconnect the user. ... Guess there is a need to read more on WMS authentication plug-ins in general ...
    (microsoft.public.windowsmedia.server)
  • Re: No streaming w/o Username/Password for users outside of server dom
    ... Authentication plug-ins than the "WMS anonymous user authentication" one .. ... If this is a mountpoint using a directory on another machine ie ... > Authorization and this fixed the isssue for me. ...
    (microsoft.public.windowsmedia.server)