Results 1 to 13 of 13
Thread: How to secure Red5 RTMP stream?
-
01-15-2011, 09:38 PM #1Junior Guru Wannabe
- Join Date
- Dec 2004
- Posts
- 35
How to secure Red5 RTMP stream?
I just managed to install Red5 and I can stream to the rtmp://IP/oflaDemo and get the result into JW Player.
However my question is now, how do I secure this? I have been searching on Google for hours but I can't find one decent tutorial about this issue.
I am using XSplit to publish to the Red5 application stream. However the problem is that anyone can stream to it by just knowing my IP address.
Now I know Apache has IP restriction, what about Red5? Anyone knows how I can configure this?
Thanks!
-
01-15-2011, 09:57 PM #2Temporarily Suspended
- Join Date
- Nov 2010
- Location
- Arizona
- Posts
- 298
Download and install the security plugin located here:
http://www.red5.org/wiki/Examples/SecurityExample
-
01-15-2011, 10:42 PM #3Disabled
- Join Date
- Jan 2011
- Posts
- 29
The link sunil-gupta.blogspot dot com/2007/06/secure-your-red5-applications-with.html seems helpfull for you.
-
01-16-2011, 08:15 AM #4Junior Guru Wannabe
- Join Date
- Dec 2004
- Posts
- 35
Thanks for the replies.
About the security plugin, I'm not sure how to install that but even if I install it anyone can still reach http://IP:5080
Is there no way to secure that area from anyone except my IP address?
Same thing for publishing. In that plugin its saying about that you need to add names of users that are allowed to publish streams. However when I want to stream with my applications I never have to fill a username or anything like that.
Is there no way to add my IP address somewhere that I am the only person that is allowed to access that area and publish a stream there and then let the people use rtmp view url.
-
04-27-2011, 12:21 PM #5Newbie
- Join Date
- Feb 2011
- Posts
- 28
It seems like what you need is firewall to only allow YOUR IP on specific ports. Google "iptables firewall" for how-tos.
-
05-17-2011, 06:14 PM #6WHT Addict
- Join Date
- Aug 2006
- Posts
- 157
I think there are two solutions, use a service like www.javascriptobfuscator.com/Default.aspx to hide your code and the RTMP, although not full proof it will stop most thief's. The second option more secure is to implement a system that your application will only connect to your domain. Or a number of domains, inside the WEB-INF add the following files with your domain on them:
allowedHTMLdomains.txt
allowedPlaybackHTMLdomains.txt
allowedPlaybackSWFdomains.txt
allowedPublishHTMLdomains.txt
allowedPublishNames.txt
allowedPublishSWFdomains.txt
allowedSWFdomains.txt
allowedSharedObjectNames.txtRTMP and Live streaming on Shared Hosting
-
05-17-2011, 06:16 PM #7WHT Addict
- Join Date
- Aug 2006
- Posts
- 157
and of course from the red5/webapps folder dont install oflaDemo or anything you dont need, and delete the installer, if not they can install one of the default apps and although not use your application use your red5.
RTMP and Live streaming on Shared Hosting
-
05-17-2011, 06:35 PM #8Newbie
- Join Date
- Jul 2009
- Posts
- 22
Trust me i have searched more than You can imagine , also i wrote an article here , there is no way except custom java application , You have to program your own custom java application which requires a dynamic user and pass from a mysql database , That's the result i found after months of searching
-
05-17-2011, 07:21 PM #9WHT Addict
- Join Date
- Aug 2006
- Posts
- 157
no it is not necessary a database, actually I found a place where they give you a ready made application which as multilevel domain control:
http://rtmpworld.com/downloads/freebies
download the totalcontrol zip use it as oflaDemo but with the extra security.RTMP and Live streaming on Shared Hosting
-
05-17-2011, 07:27 PM #10WHT Addict
- Join Date
- Aug 2006
- Posts
- 157
found another site:
http://flashvisions.com/general/red5...ation-creator/
you can generate an app like oflaDemo but with the secure domain and very interesting select the place where to save the videos files, so you not limited to red5/webapps/app/streams
we use this a lot on our red5 shared hosting plans so the customers can save the video files inside their own public_htmlRTMP and Live streaming on Shared Hosting
-
05-17-2011, 07:33 PM #11Newbie
- Join Date
- Jul 2009
- Posts
- 22
as i understand you want every customer client to login with his own login details , am i right ?
-
05-17-2011, 07:45 PM #12WHT Addict
- Join Date
- Aug 2006
- Posts
- 157
I'm afraid I dont understand your question.
RTMP and Live streaming on Shared Hosting
-
05-17-2015, 03:51 AM #13Junior Guru Wannabe
- Join Date
- Jul 2009
- Posts
- 56
Similar Threads
-
Red5 Hosting | RTMP Hosting | Broadcast Live | Video Chat
By visio in forum Shared Hosting OffersReplies: 0Last Post: 09-06-2010, 04:52 PM -
Virtual Life Stream - Stream Hosting - Amazing Prices!
By Cruise in forum Other Hosting OffersReplies: 0Last Post: 10-07-2009, 10:09 AM -
Virtual Life Stream - Stream Hosting - Amazing Prices!!!
By Cruise in forum Other Hosting OffersReplies: 0Last Post: 09-16-2009, 09:59 AM -
Can Recommend a Secure Adult Video Stream Hosting Site ?
By SKMan in forum Web HostingReplies: 7Last Post: 01-29-2009, 01:30 PM -
DESIGN JOB: need a flash player to stream shoutcast or icecast stream
By flamesburn in forum Employment / Job OffersReplies: 3Last Post: 06-07-2005, 06:21 PM