Forum

Post a new question

Categories:

Tags:

Use ID and IP for paywall and hot link protection

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

Hi,

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
19267651c883bdb5b8ba8c4403e5bc11

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
B0af1cee7eb1e40dd284d9982b3aef70

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
437430134b2d8e0d6ea0093693db19aa

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
B0af1cee7eb1e40dd284d9982b3aef70

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
Bb89cdfbcf6da4749c0f4d1ae62609ae

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

Post a reply



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.