Stream Content Security with user:pass


 
Thread Tools Search this Thread
Special Forums Cybersecurity Stream Content Security with user:pass
# 1  
Old 09-14-2014
Stream Content Security with user:pass

Hello,
I have a linux based streaming server and I do not want to make it public. I am looking for a solution to make my streaming content secured with username & password for each individual.

If i had been dealing with a webpage application, it would have been easy for me: To create .htpasswd and .htaccess files for each html folder would have been solving the problem but in my case this is not webpage based application.

What I am in need of is to create a database for each visitor, when they enter the stream link in below format , they will be able to play it at their end:

http://username:password@public_ip:port/stream_name

Some applications are using cgi-bin but I do not know how to install&set it.
I would appreciate if anybody would guide me or give a clue about how it can be done.

Thanks in advance
Boris

Last edited by Don Cragun; 09-14-2014 at 07:58 AM.. Reason: Disable smilies in this posting.
# 2  
Old 09-16-2014
Your CGI should be secure/https at least while handling id and password, but can set a cookie with encrypted encoded (xml?) data giving access to the streaming content for just them and just N seconds. For instance, "<id>:<ip>:<unix_time>" run through encryption and base 64 encoding to be cookie-embeddable.
This User Gave Thanks to DGPickett For This Post:
# 3  
Old 09-16-2014
Hello DGPickett,
At the moment I am trying to install nginx-rtmp
If I can not set it correctly, I will read CGI documents.

Boris
# 4  
Old 09-22-2014
# 5  
Old 09-22-2014
Quote:
Originally Posted by DGPickett
Yes, you can also create token that will be active for just N seconds as well as you are doing with cgi.
I am able to play mp4 files with nginx-rtmp but unable to embed live stream into html. I will keep digging in google..

regards
Boris
# 6  
Old 09-24-2014
Well, it is open source, so you can enhance it.
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[Video stream] network stream recording with mplayer

Hi I used this command: mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \ -cache 1024 -fps 25.0 -nosound -vc ffh264 \ -demuxer 3 -dumpstream -dumpfile output.avi It's ok but... Video Playing is very fast! Why? Is it a synch problem? What parameter I have to use for... (1 Reply)
Discussion started by: takeo.kikuta
1 Replies
Login or Register to Ask a Question