Unix/Linux Go Back    


Security Discuss UNIX and Linux computer and network security, cyber security, cyber attacks, IT security, and more.

Stream Content Security with user:pass

Security


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 09-14-2014
baris35 baris35 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 31 October 2016, 11:37 AM EDT
Posts: 93
Thanks: 40
Thanked 4 Times in 4 Posts
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.
Sponsored Links
    #2  
Old Unix and Linux 09-16-2014
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 1 February 2016, 3:35 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,673
Thanks: 8
Thanked 587 Times in 560 Posts
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.
The Following User Says Thank You to DGPickett For This Useful Post:
baris35 (09-16-2014)
Sponsored Links
    #3  
Old Unix and Linux 09-16-2014
baris35 baris35 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 31 October 2016, 11:37 AM EDT
Posts: 93
Thanks: 40
Thanked 4 Times in 4 Posts
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 Unix and Linux 09-22-2014
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 1 February 2016, 3:35 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,673
Thanks: 8
Thanked 587 Times in 560 Posts
OK, like here: https://www.google.com/#q=nginx-rtmp+security
Sponsored Links
    #5  
Old Unix and Linux 09-22-2014
baris35 baris35 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 31 October 2016, 11:37 AM EDT
Posts: 93
Thanks: 40
Thanked 4 Times in 4 Posts
Quote:
Originally Posted by DGPickett View Post
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
Sponsored Links
    #6  
Old Unix and Linux 09-24-2014
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 1 February 2016, 3:35 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,673
Thanks: 8
Thanked 587 Times in 560 Posts
Well, it is open source, so you can enhance it.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -4. The time now is 04:02 AM.