Ready to use – Red5 streamer with stream security




As RTMP continues to grow, and Red5 triumphs as the only open source RTMP server alive, there are concerns to protect your application from misuse. The following red5 application implements stream security for both playback and publishing.

You can edit the files – allowedHTMLdomains.txt and allowedSWFdomains.txt and add the domain names that you want to be able to playback/publish using your application. Each domain name must be added in a  new line.

The application also lets you allow/disallow publishing entirely. To do so edit the file red5-web.xml and set enable publish as true/false according to your needs:

<bean class="org.red5.core.security.PublishSecurity" init-method="init" id="publishSecurity">
<property name="application" ref="web.handler" />
<property name="htmlDomains" value="/WEB-INF/allowedHTMLdomains.txt" />
<property name="swfDomains" value="/WEB-INF/allowedSWFdomains.txt" />
<property name="publishNames" value="/WEB-INF/allowedPublishNames.txt" />
<property name="enablePublish" value="true" />
</bean>

You can also set stream publish security by defining specif stream names that are allowed for recording/broadcasting in the file allowedPublishNames.txt

Note : putting a * in any of the three security files will disable security for the particular context. Eg: Putting a * in allowedPublishNames.txt means that stream check is disabled.

This application is created for a quick and easy deployment, with guidance from red5.org.

Download:

Customstreamer_domaincontrol_source_0.8

Customstreamer_domaincontrol_deployable_0.8 [rtmp application name: domaincontrol]

Or generate your own with Red5 – Online Application Generator

Popularity: 35% [?]




August 26, 2010  Tags: , , , , ,   Posted in: Java, Red5, RTMP

23 Responses

  1. rehabilitasyon - August 27, 2010

    Hi, I’m learning new flex program would be very helpful for me thanks

  2. digital slr reviews - February 14, 2011

    Wow! Thanks! I constantly wanted to write down in my web page one thing like that. Can i consider aspect of your put up to my blog site?

  3. Chris H. - February 27, 2011

    Could you guys update this to work with red5 0.9+? I’ve tried to deploy this on debian squeeze running both red5-server 0.9.1-4 as well as the latest trunk build, and it doesn’t work in either one.

    The red5-server package doesn’t come with plugin support, the trunk build does; however, this doesn’t appear to have any affect on this application.

    Thanks for your time and consideration.

  4. Peppermint - March 10, 2011

    Recent results are fascinating…

    [...]comparable data leads us to believe that we should consult[...]…

  5. get a six pack fast - March 11, 2011

    Did you know Jolie broke up with him?…

    [...]below you will find the link to a couple sites we think you should visit[...]…

  6. Flax Seed Nutrition - March 13, 2011

    Flax Seeds Benefit…

    [...] below you’ll find the link to some sites that we think you should visit. Posted in [...]…

  7. Pressing financial issue - March 13, 2011

    payday advance loan…

    [...]Some of suppliers’ sites:[...]…

  8. Taylor Armstrong - March 13, 2011

    Taylor Armstrong States It’s An Excellent Post Cool…

    [...] Brilliant info; thought I wish to track-back to it well done… [...]…

  9. Wartrol - March 18, 2011

    Nicely done…

    Good post…..

  10. buy generic viagra - March 20, 2011

    Hello…

    This website is the most excellent website….

  11. la ink tattoos - March 29, 2011

    Trackback, Thanks very much…

    la ink tattoo designs, has linked to your web page….

  12. Conveyancing Solicitor - March 30, 2011

    Conveyancing Solicitors…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  13. Property Solicitors - March 30, 2011

    Conveyancing Solicitors…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  14. the diet solution program - March 31, 2011

    the diet solution program…

    Thanks for the excellent blog post….

  15. train horns - April 1, 2011

    Fantastic Website…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  16. Approved - April 1, 2011

    [...]below that are definitely worth checking out[...]…

  17. golf prints - April 3, 2011

    richard chorley golf…

    Thanks for such an excellent page, bookmarked, ill visit soon!…

  18. Dremel Stylus - April 6, 2011

    Dremel Stylus…

    Bookmarked your site, so I can visit frequently, thank you!…

  19. Hunstanton - April 6, 2011

    Hunstanton…

    Trackback, I have linked to your site, thank you!…

  20. market place - April 7, 2011

    market place…

    Trackback, I have linked to your site, thank you!…

  21. Rob Rasner Magic - April 8, 2011

    Rob Rasner Suggests It’s A Fantastic Article Well Done?…

    Excellent story, thinking we might put a few not related posts, yet still worthwhile looking….

  22. Pippoland - November 12, 2011

    I can connect from everywhere using publisher demo
    launched from other server…
    All is set to localost only…
    red5 8 final
    debian 6 squeeze…
    Please clean all…!

    You like to have people paying for getting it working…!

  23. Kazogi Me toca - November 12, 2011

    “All is set to localost only…
    red5 8 final
    debian 6 squeeze…
    Please clean all…!”

    Me too!
    Configured on localhost only, security doesn’work!
    Bah!

Leave a Reply