Sponsored Content
Special Forums Cybersecurity Stream Content Security with user:pass Post 302917415 by DGPickett on Tuesday 16th of September 2014 01:28:56 PM
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:
 

We Also Found This Discussion For You

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
SESSION_GET_COOKIE_PARAMS(3)						 1					      SESSION_GET_COOKIE_PARAMS(3)

session_get_cookie_params - Get the session cookie parameters

SYNOPSIS
array session_get_cookie_params (void ) DESCRIPTION
Gets the session cookie parameters. RETURN VALUES
Returns an array with the current session cookie information, the array contains the following items: o"lifetime" - The lifetime of the cookie in seconds. o"path" - The path where information is stored. o"domain" - The domain of the cookie. o"secure" - The cookie should only be sent over secure connections. o"httponly" - The cookie can only be accessed through the HTTP protocol. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.2.0 | | | | | | | The "httponly" entry was added in the returned | | | array. | | | | +--------+---------------------------------------------------+ SEE ALSO
session.cookie_lifetime, session.cookie_path, session.cookie_domain, session.cookie_secure, session.cookie_httponly, ses- sion_set_cookie_params(3). PHP Documentation Group SESSION_GET_COOKIE_PARAMS(3)
All times are GMT -4. The time now is 07:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy