Use ID and IP for paywall and hot link protection

Alexandre 2018-02-27 01:27:54 UTC in Paywall: WMSAuth and beyond


I know a while back I requested the feature where we would be able to use the ip and id at the same time for the wmsauth signature and I was sure that you said it was implemented. I have since changed my email address so I've lost the support message explaining the right order for the hash.

Thanks for your help

Alexandre 2018-02-27 01:39:00 UTC 

Feature was added in 3.1.4-3

From Changelog:
3.1.4-3 Dec 12 2016
- Fixed setting icecast bitrate for mpegts mp3 streams
- Some improvements in transcoder
- Improve transmuxing performance when remote VOD storage is used
- Support validating client IP in PPV signatures

Alex Pokotilo 2018-02-27 01:58:02 UTC 

This revision adds support for "checkip=true" parameter to wmsAuth.
If this parameter exists in wmsAuth Nimble will validate both ppv id and viewer ip. By default if ppv id exists viewer ip not checked

Alexandre 2018-02-27 02:57:09 UTC 

In order to use the "checkip=true", we need to hash the ip and the id in a specific order in order to match with the server side. I currently don't have this information and cannot find it anywhere.

Alex Pokotilo 2018-02-27 07:58:19 UTC 

Good question.
If "checkip=true"presented in wmsAuthSign you need to add
client_ip first and then add client_id to your hash

Pavel 2018-11-15 08:32:45 UTC 

It`s very important feature. Please add this in ducumentation.

Denis Slobodskoy 2018-11-20 11:00:16 UTC 

Pavel, thanks for your notice, we added checkip description to this article:

Pavel 2018-11-20 11:06:15 UTC 

Thank you!

Post a reply

Post a new question


This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.