Results 1 to 6 of 6

Thread: Restrict Access Wowza + EC2 + S3 + CloudFront

  1. #1
    Join Date
    Oct 2013
    Posts
    4

    Default Restrict Access Wowza + EC2 + S3 + CloudFront

    Hello,


    I have a Wowza Media Server in a EC2, s3, and cloudfront, using sanjose streaming.
    I need to restrict access just a some domains, but when i do it at crossdomain.xml block to everyone.

    my crossdomain.xml

    <?xml version="1.0"?>
    
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    
    <cross-domain-policy>
    
            <allow-access-from domain="video.passaportecb.com.br"/>
    
    </cross-domain-policy>

    If anyone could help me, i will be grateful.

    Thank you

  2. #2

    Default

    You can use this module to limit playback to certain IP addresses:
    How to limit playback by IP address

    Salvadore

  3. #3
    Join Date
    Oct 2013
    Posts
    4

    Default

    Quote Originally Posted by salvadore View Post
    You can use this module to limit playback to certain IP addresses:
    How to limit playback by IP address

    Salvadore
    i did it right now, but there is no block.

    i put the file wms-plugin-collection.jar in the lib folder (but there is more files and folders in the WowzaServerAddOnCollection.zip that i downloaded)

    added in the conf/vods3/Application.xml in module list
    <Module>
    	<Name>ModuleOverridePlayRestrictIP</Name>
    	<Description>ModuleOverridePlayRestrictIP</Description>
    	<Class>com.wowza.wms.plugin.collection.module.ModuleOverridePlayRestrictIP</Class>
    </Module>
    added in the conf/vods3/Application.xml in property list.
    <Property>
    	<Name>IpList</Name>
    	<Value>189.45.XX.XX</Value>
    </Property>

    What can i do ?


    Thank you for answer.

  4. #4

    Default

    Did you restart Wowza after adding the .jar file and uodating the Application.xml file?

    Salvadore

  5. #5
    Join Date
    Oct 2013
    Posts
    4

    Default

    Quote Originally Posted by salvadore View Post
    Did you restart Wowza after adding the .jar file and uodating the Application.xml file?

    Salvadore

    It worked.

    Let me explain what i need better.
    I have a platform of online education, and i need to allow just students logged in the platform to access the video.

    There is anyway to do it ?


    Thank you

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

    Default

    You have to do some work on the client-side to add credentials, and some work on the server-side to authenticate. Assuming you are using a Flash application, one approach is to get credentials from the environment, for example from a cookie set in a prior login that you add to the RTMP url of the Flash player in your application server as you are forming the player, and that is sent to Wowza in the NetConnection.connect(), handled server-side on the onConnect handler, as in this example

    If you are developing the player, writing the AS3 code, there are other options like using ExternalInterface to get cookies client-side. And if you are the player developer you can add an authentication dialog.

    Or you can avoid Flash and Wowza completely by controlling access to the player with web based authentication.

    Richard

Similar Threads

  1. How to restrict access to video by url pattern
    By sam.shm in forum Live Streaming and Encoders
    Replies: 3
    Last Post: 06-22-2014, 03:31 PM
  2. WSE Manager: how to restrict access by ip ?
    By Florent.T in forum General Forum
    Replies: 5
    Last Post: 04-23-2014, 10:25 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
  •