Knowledge Base

Find your answers here.

What is the workflow I would use to create tokens via the Vid.ly PRO API?

This workflow lays out the XMLs needed in order to create a token-based authentication workflow for protecting Vid.lys. If you are not familiar with the process of designing security for URLs, please ensure to review your planned workflow with a qualified security professional.

When a visitor loads the page, a script will make a GetSecurityToken request including the visitor IP and expiration date (optional) from Encoding.com. The token is only valid for that IP and timeframe. When the token is received a response is generated adding that token to the embed code. This happens dynamically, and a new token is generated with each page load. Here is a link to a PHP sample script that executes this workflow..

Below is an example of the API call and response with this type of workflow.