« Previous Next »

Thread: Windows Media Services Plugins

Last post 10-09-2009 11:38 AM by prakashd. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 09-08-2009, 12:13 PM

    Windows Media Services Plugins

    Hiya. I'm hoping someone might be able to send me some sample code or point me towards a tutorial or blog post...

    I've just dived into the world of Windows Media Services. For a current project I need to be able to restrict access to certain WMV files housed upon a streaming media server.

    For various reasons, the best method to do this (as far as I can see) is to use a URL Referer plugin for Authorization, so that the WMV files can only be embedded and accessed from a specific website. As WMS can't handle this out-of-the-box it looks as though I will need to write a custom plugin. Oh dear!

    If anyone has a better idea, I would be very glad to hear it.

  • 09-12-2009, 2:05 PM In reply to

    • chriskno
    • Top 150 Contributor
    • Joined on 07-10-2007, 10:22 PM
    • Redmond, Washington
    • Posts 48

    Re: Windows Media Services Plugins

    If all the valid requests will be coming from a specific website, would IP Address authorization meet your needs?  http://technet.microsoft.com/en-us/library/cc770273.aspx

     -Chris

    Chris Knowlton
    Program Manager, IIS Media Services
    blog: http://blogs.iis.net/chriskno
  • 09-14-2009, 4:19 AM In reply to

    Re: Windows Media Services Plugins

    Wouldn't the detected IP address be that of the end user attempting to view the video file?
  • 10-09-2009, 11:38 AM In reply to

    • prakashd
    • Top 200 Contributor
    • Joined on 10-16-2007, 3:33 PM
    • Redmond
    • Posts 29

    Re: Windows Media Services Plugins

    An easy alternative would be to use Active Script plugin and write a small plugin to authorize based on the referer header.  This should be easy to get it up and running fast but may not be very efficient for a high traffic site (since you are running a script for each user request)

Page 1 of 1 (4 items)
Microsoft Communities