Results 1 to 6 of 6

Thread: Need Help in "ModuleHotlinkDenial". Crossdomain Flash

  1. #1
    Join Date
    Aug 2012
    Posts
    9

    Default Need Help in "ModuleHotlinkDenial". Crossdomain Flash

    I have installed "ModuleHotlinkDenial" module in Wowza Media Server. But streaming works if requests from any server.

    I have done the following points, please let me know what i did wrong.

    1) I have downloaded the "Wowza Media Server Utility Modules Collection" package from "http://www.wowza.com/downloads/forums/collection/wms-plugin-collection.zip".

    2) Copied the wms-plugin-collection.jar from "[downloaded_package]/lib/" into my wowza server "home/wowza/lib/".

    3) Added the following code (modules) into "home/wowza/conf/Application.xml" within "<modules> tag.

    <Module>
    <Name>hotlinkdenial</Name>
    <Description>Hotlink Denial Module</Description>
    <Class>com.wowza.wms.plugin.collection.module.ModuleHotlinkDenial</Class>
    </Module>

    4) Added the following code (property) into "home/wowza/conf/Application.xml" within <properties> tag.

    <Property>
    <Name>domainLock</Name>
    <Value>localhost</Value>
    </Property>

    5) Added the following code (property) into "home/wowza/conf/Application.xml" within <properties> tag.

    <Property>
    <Name>AllowEncoder</Name>
    <Value>FM, Wirecast, WIN</Value>
    </Property>

    What's wrong?

  2. #2
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi
    It looks correct at first glance.
    Did you restart Wowza after making the changes?

    Jason

  3. #3
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    This module restricts what domain or IP a Flash player can be served from and be allowed to connect to Wowza. What are you trying to do?

    Richard

  4. #4
    Join Date
    Aug 2012
    Posts
    9

    Default

    Quote Originally Posted by JasonH View Post
    Hi
    It looks correct at first glance.
    Did you restart Wowza after making the changes?

    Jason
    The problem is streaming works if requests from any server. But I allowed requests only from localhost.

  5. #5

    Default

    You can omit the AllowEncoder property value.

    Then only Flash applications that are embedded in a webserver whose IP/hostname is listed in the DomainLock property will be allowed to connect.

    Remember this is only for blocking "hotlinking". The streams can still be played back via other protocols such as RTSP and HTTP. For controlling other types of play back you will have to use other methods depending on your requirements. You can specify what your goals are and someone can offer a suggestion, or browse through the security section of the tutorials.

  6. #6
    Join Date
    Aug 2012
    Posts
    9

    Default

    Quote Originally Posted by randall View Post
    You can omit the AllowEncoder property value.

    Then only Flash applications that are embedded in a webserver whose IP/hostname is listed in the DomainLock property will be allowed to connect.
    When property AllowEncoder is empty, you cannot connect to application from FMLE. So you gotta use FM.

    But you if you try to connect to application through Flash Player or JW Player, Wowza rejects it. That's why I use WIN property.

Similar Threads

  1. Replies: 4
    Last Post: 06-15-2012, 09:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •