Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Using a unique key to restrict and protect sharing
123KEY456
The hash is then generated using the following function:/**
*@param $sKey Key value available above.
*@param $sVideoName Video name (name minus extension).?
* @param $sUserIP User's IPv4 address.
*/?
$hash = md5( $sKey . $sVideoName . $sUserIP . date("YmdH") );
Then, simply pass this hash as a parameter to the video. Example: http://vod.infomaniak.com/redirect/.../video.mp4?sKey=$hashIf the hash is invalid, accessing the video will return a "403 forbidden" error page.
More information.
Link to this FAQ: