Skip to main content
Known Participant
November 9, 2012
Question

block other domains/websites from embedding live stream on their website.

  • November 9, 2012
  • 1 reply
  • 1850 views

What steps are necessary to prevent other websites from embedding my live stream on their website?

Thanks!

    This topic has been closed for replies.

    1 reply

    November 9, 2012

    Navigate to the RootInstall/applications/live  folder and do one of the following:

    •To add a domain for SWF clients, edit the allowedSWFdomains.txt file.

    •To add a domain for HTML clients, edit the allowedHTMLdomains.txt file.

    The TXT files contain detailed information about adding domains.

    Also if you want to restrict access at VHost level then you can check the following link:

    http://help.adobe.com/en_US/adobemediaserver/configadmin/WS5b3ccc516d4fbf351e63e3d119f2925e64-7fe0.2.3.html

    Mr_DaveAuthor
    Known Participant
    November 12, 2012

    I'm still a little confused on this domain restriction feature of FMS. I use the include the following code snippet on pages to view my live video stream.

    My web server is called - 'MyWebServer.domain1.net' and my FMS server is called 'FMS-Server.domain2.net'.

    What I want to do is only allow '*.domain1.net' to watch the stream being pulled from 'FMS-Server.domain2.net'.

    How can I stop another domain say, domain3.net from pasting the code below into a web page hosted on their web server and watching the video?

    Thanks!

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

            codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab##version=10,0,0,0"

            width="512" height="288" align="middle">

            <param name="movie" value="http://MyWebServer.domain1.net/StrobeMediaPlayback.swf"></param>

            <param name="FlashVars" value="src=http://FMS-Server.domain2.net/myEvent.f4m"></param>

            <param name="allowFullScreen" value="true"></param>

            <param name="allowscriptaccess" value="always"></param>

            <embed src="http://MyWebServer.domain1.net/StrobeMediaPlayback.swf" type="application/x-shockwave-flash"allowscriptaccess="always" allowfullscreen="true"width="512" height="288"

                   FlashVars="src=http://FMS-Server.domain2.net/myEvent.f4m">

            </embed>

    </object>
    November 14, 2012

    For your scenerio, I think you need to place the swf such that it is not directly accessible from the browser. You can create a folder outside the webroot folder and place the swf there and access the swf directly instead of accessing it through a url.