Can I embed video on external sites while still using tokens to protect the content?

Posted by JKS on Stack Overflow See other posts from Stack Overflow or by JKS
Published on 2010-03-23T23:18:16Z Indexed on 2010/03/23 23:23 UTC
Read the original article Hit count: 271

Filed under:
|
|
|

On our own website, it's easy to protect against direct links to our video content by grabbing a token through AJAX and verifying the token through PHP before the file download is started.

However I'm also researching how I could provide an embed feature, like YouTube or vimeo etc., without compromising this security feature.

The problem is that the embed code I want to provide should look something like <object>...<embed>...</embed></object> -- but I don't know how to grab and append the token to the filename. I mean, I guess I could attach a script that did some gnarly JNOP business, but that's too dirty.

I'm using JW Player for the actual video container.

Huge thanks to anyone who can help...

© Stack Overflow or respective owner

Related posts about php

Related posts about flash