RE: HTTP Protocol Bug ???
From: Alberto (Alberto_at_discussions.microsoft.com)
Date: 10/13/04
- Next message: ee99ee: "Re: Can't Connect to Publishing Point"
- Previous message: Ravi Raman: "Can't Connect to Publishing Point"
- In reply to: Ravi Raman: "RE: HTTP Protocol Bug ???"
- Next in thread: Ravi Raman: "RE: HTTP Protocol Bug ???"
- Reply: Ravi Raman: "RE: HTTP Protocol Bug ???"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 13 Oct 2004 05:21:05 -0700
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
> >> >.
> >> >
> >>
> >.
> >
>
- Next message: ee99ee: "Re: Can't Connect to Publishing Point"
- Previous message: Ravi Raman: "Can't Connect to Publishing Point"
- In reply to: Ravi Raman: "RE: HTTP Protocol Bug ???"
- Next in thread: Ravi Raman: "RE: HTTP Protocol Bug ???"
- Reply: Ravi Raman: "RE: HTTP Protocol Bug ???"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|