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:
<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: Java, Red5, reusable, RTMP, Streaming, Video Posted in: Java, Red5, RTMP




23 Responses
Hi, I’m learning new flex program would be very helpful for me thanks
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?
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.
Peppermint - March 10, 2011
Recent results are fascinating…
[...]comparable data leads us to believe that we should consult[...]…
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[...]…
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 [...]…
Pressing financial issue - March 13, 2011
payday advance loan…
[...]Some of suppliers’ sites:[...]…
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… [...]…
Wartrol - March 18, 2011
Nicely done…
Good post…..
buy generic viagra - March 20, 2011
Hello…
This website is the most excellent website….
la ink tattoos - March 29, 2011
Trackback, Thanks very much…
la ink tattoo designs, has linked to your web page….
Conveyancing Solicitor - March 30, 2011
Conveyancing Solicitors…
[...]below you’ll find the link to some sites that we think you should visit[...]…
Property Solicitors - March 30, 2011
Conveyancing Solicitors…
[...]below you’ll find the link to some sites that we think you should visit[...]…
the diet solution program - March 31, 2011
the diet solution program…
Thanks for the excellent blog post….
train horns - April 1, 2011
Fantastic Website…
[...]below you’ll find the link to some sites that we think you should visit[...]…
Approved - April 1, 2011
…
[...]below that are definitely worth checking out[...]…
golf prints - April 3, 2011
richard chorley golf…
Thanks for such an excellent page, bookmarked, ill visit soon!…
Dremel Stylus - April 6, 2011
Dremel Stylus…
Bookmarked your site, so I can visit frequently, thank you!…
Hunstanton - April 6, 2011
Hunstanton…
Trackback, I have linked to your site, thank you!…
market place - April 7, 2011
market place…
Trackback, I have linked to your site, thank you!…
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….
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…!
“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