...

View Full Version : protecting videos



utinaeniduin
01-25-2008, 06:56 PM
I am building a site for this women who is selling access to video content. I was wondering what are some relatively simple ways to complicate the source code so that creative users can't simply download the videos to their computer. The only idea that I have that is fully developed is to store the videos (.flv) in a mysql table and to retrieve them with a php script. This script would verify their session data before fetching the video. Is this idea practical? I am not so familiar on the limitations of mysql.

Thanks in advance for any ideas or suggestions?

arnyinc
01-25-2008, 07:39 PM
Can you clarify "protecting" them? Typically people are looking for ways to protect them from being downloaded. Are you talking about protecting people from viewing the files if they don't have an account, or from sharing account information?

utinaeniduin
01-25-2008, 07:58 PM
sorry if i was unclear. i am looking for a way to make it difficult for users to download the .flv file to their computer. i don't want them to be able to open up the source code find the link to the .flv file and snatch it.

Erindesign
01-25-2008, 08:17 PM
hmmmmmmmmmm. good question.

I think it would be pretty hard to protect it, because you have to output an html source code to play it in the flv player.

But, if oyu have the coding skills to make a php file that will take a code, and then convert it to a name, you are good to go.

Say we have videoplayer.swf/videoid=12345. If you were to take this number, and say divide by x, (a number noone except you would know), then it would come up with an id.

JohnDubya
01-25-2008, 10:23 PM
hmmmmmmmmmm. good question.

I think it would be pretty hard to protect it, because you have to output an html source code to play it in the flv player.

But, if oyu have the coding skills to make a php file that will take a code, and then convert it to a name, you are good to go.

Say we have videoplayer.swf/videoid=12345. If you were to take this number, and say divide by x, (a number noone except you would know), then it would come up with an id.

That is about the only idea I thought up as well. Or I wonder if there's some way you could point the Flash video source to a PHP page, and give the PHP page the unique ID of the video in the database, which would then pull the video's file name (which would be invisible to the user). I found a post on flashkit.com on this same topic, but there were no replies. Here's one post I did find though: http://www.phpbuilder.com/board/archive/index.php/t-10275423.html

Good luck! Let us know what you find out!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum