Results 1 to 8 of 8

Thread: scure streaming with authentication

  1. #1
    Join Date
    Aug 2011
    Posts
    116

    Default scure streaming with authentication

    Hi
    I have implemented an authentication model for rtsp and HTTP with my database.

    I had collected some questions that i have regarding secure streaming and authentication.
    I hope you will be able to clear some things for me.

    1. I don't fully understand the RTP/Authentication section in the application.xml. if i have my own rtsp auth model does it use the RTP/Authentication section
    how does the rtp authentication section works.? do i need to reference my model in /conf/Authentication.xml /Digest Properties list?

    2. i have seen that there is an aes 128 inscription for hls can it work also with flash http?

    3. there is a reference to rtmp auth http://www.wowza.com/forums/content....erBase-Example it says in the api that it is
    Base class for implementing HTTP and RTSP based custom authentication class.
    can someone tell me how it works to implement HTTP and rtsp auth i used onrtpseesion and onhttpsession and here i relay dont understand how it works

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

    Default

    1) Take a look at this post:

    http://www.wowza.com/forums/showthre...wowza/page3#22

    (I will update the guide with the above)

    2) Wowza AES encryption doesn't work with Flash HTTP

    3) See 1

    Richard

  3. #3
    Join Date
    Aug 2011
    Posts
    116

    Default

    I am a little bit confused but I have a relative simple questions.
    I don't have a rtmp based encoder but i want to use the benefits of wowza media security.
    how can i make an rtmp authentication with my database? will it work with rtmps if i enable so with wowza?
    can i use it with the security token and how does the client pass the information to me?

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

    Default

    What do you have?

    Richard

  5. #5
    Join Date
    Aug 2011
    Posts
    116

    Default

    I am planing to build for my clients (ios,android,googletv)a flash application that will view wowza streams via rtmp.
    when they will log on to the application wjth user and pass i will pass it as a part of the stream.
    also i want to use the security token ability.
    currently i am streaming to wowza via vlc and i want to stream out via rtmp + additional security.
    as i understand the mediasecurity with AuthenticateUsernamePasswordProviderBase workes only with wirecast and other rtmp based encoders maybe i am mistaken.
    for the website client maybe i will use jw player or something similer.
    i want to build the best security system as i can the only thing i came up with is useing the securetoken + pass additional arguments if there is a batter solution please let me now.
    beside wowza i dont have anyone else to consult with.

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

    Default

    To secure the player, use ModuleSecureToken from the MediaSecurity package:
    http://www.wowza.com/forums/content....tion-and-more)

    Re-compile JW Player with your SecureToken:
    http://www.wowza.com/forums/content....to-JW-Player-5

    Secure the publishing point with ModuleSecureURLParams (alternative to ModuleRTMPAuthenticate):
    http://www.wowza.com/forums/content....for-Publishing

    For iOS, you can encrypt streams with one of these methods:
    http://www.wowza.com/forums/content....ternal-method)
    http://www.wowza.com/forums/content....ternal-method)

    For iOS you can also authenticate querystring params to control access:
    http://www.wowza.com/forums/content....-and-San-Jose)

    For RTSP to Android (recommended delivery method at this time), similar to the above, you can authenticate using data from querystring (There isn't any other security for RTSP):
    http://www.wowza.com/forums/content....TSP-RTP-stream

    Richard
    Last edited by rrlanham; 02-27-2012 at 09:43 AM.

  7. #7
    Join Date
    Aug 2011
    Posts
    116

    Default

    wow richard thank you very much
    i have already implemented authentication with rtsp and http and authenticate it with my database.
    last question is there a wey to pass arguments via rtmp similer for rtsp and http and authenticate it with my database something like rtmp://xxxxxx/querystring ?
    will the rtmpe be more "heavy" then regular rtmp?
    I relay want to check rtmp for GoogleTv because of it's added value of security also HLS (on Android 4) if it will interest anyone a will publish all of my test cancellations.

    again thank you for your patient and time your support is great!!!!
    /Asaf

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

    Default

    Asaf,

    You can either do it with NetConnection.connect and process in onConnect, or with NetStream.play and process in server-side override of play command. Examples of each:

    http://www.wowza.com/forums/content....Authentication

    http://www.wowza.com/forums/content....ess-to-content

    Richard

Similar Threads

  1. File Streaming Authentication
    By theyetter in forum General Forum
    Replies: 1
    Last Post: 01-28-2012, 03:03 AM
  2. RTMP authentication, RTSP authentication => problem
    By nvanhaute1 in forum Server Administration Discussion
    Replies: 4
    Last Post: 11-09-2011, 03:01 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
  •