
05-18-2006, 10:28 PM
|
|
Disabled
|
|
Join Date: Nov 2005
Posts: 25
|
|
Prevent users from stealing video
I've seen on a few sites that have streaming media that they use a script that hides the url of the video file. I think it can be done with javascript or a PHP script. Anyone know any scripts that do this?
|

05-20-2006, 12:53 AM
|
|
Newbie
|
|
Join Date: May 2006
Posts: 6
|
|
This sort of security-through-obscurity is pretty useless; any halfway-savvy user can just look for the URL in the script.
One thing I did for someone on a past contract was write a flash player and just use very basic encyption. The 'scrambled' file is free for anyone to download, but only the player (which is compiled) knows how to turn it back into a movie.
Easy to break, for someone who's smart and wants to? Sure. Did anyone? Not that I know of.
|

05-20-2006, 01:11 AM
|
|
Disabled
|
|
Join Date: Nov 2005
Posts: 25
|
|
Quote:
|
Originally Posted by Jxrad
This sort of security-through-obscurity is pretty useless; any halfway-savvy user can just look for the URL in the script.
One thing I did for someone on a past contract was write a flash player and just use very basic encyption. The 'scrambled' file is free for anyone to download, but only the player (which is compiled) knows how to turn it back into a movie.
Easy to break, for someone who's smart and wants to? Sure. Did anyone? Not that I know of.
|
I think a great majority of people wouldn't be able to crack it, and the few that would be able to might not be interested. The casual user, after all, isn't as "savvy" as most webmasters. Basically, I'm pretty sure it would prevent a larger majority from stealing the content, and that's just what I am aiming to do.
More help would be appreciated, thanks.
|

05-20-2006, 01:18 AM
|
|
Newbie
|
|
Join Date: May 2006
Posts: 6
|
|
You can do the same sort of obfuscation with a URL. I'm pretty tired right now or I'd write you some quick code, but try this;
Map each alphanumeric character to another alphanumeric character. Write a quickie PHP script that scrambles the URL (by choosing a random mapping and translating each character into its paired character), and a quickie JS script that unscrambles it (doing the same thing in reverse). Have the PHP script generate the JS so that the key is different each time. Then the URL is never handed to the client plaintext.
It's basically more complex ROT13.
|

05-20-2006, 01:21 AM
|
|
Disabled
|
|
Join Date: Nov 2005
Posts: 25
|
|
Quote:
|
Originally Posted by Jxrad
You can do the same sort of obfuscation with a URL. I'm pretty tired right now or I'd write you some quick code, but try this;
Map each alphanumeric character to another alphanumeric character. Write a quickie PHP script that scrambles the URL (by choosing a random mapping and translating each character into its paired character), and a quickie JS script that unscrambles it (doing the same thing in reverse). Have the PHP script generate the JS so that the key is different each time. Then the URL is never handed to the client plaintext.
It's basically more complex ROT13.
|
sounds interesting, but I'm not sure how to make such a script in JS or PHP. If you ever have time and can write some code, it would be greatly appreciated.
|

05-11-2007, 09:09 AM
|
|
New Member
|
|
Join Date: May 2007
Posts: 4
|
|
I don't think that there is a way to prevent it because that all of the IE temporarly files are located in an hidden folder.
|

05-13-2007, 06:36 PM
|
|
<?require_once("life")?>
|
|
Join Date: Sep 2002
Location: inside your network
Posts: 9,548
|
|
Simply put, flash:
create a flash playlist calling the files you want called, embed the FLASH item into the page, and voilla, you've got protected video.
Of course, you have to actually do things properly when storing the video too (random 25-70 char names, etc), but when you embed it into the flash playlist, as long as you named the video obscurely, there shouldn't be any issues at all with people "stealing video".
|

05-13-2007, 07:16 PM
|
|
WHT Addict
|
|
Join Date: Mar 2007
Posts: 174
|
|
Did you think about watermarking the videos instead? That way even if somebody does steal it, their visitors will come looking for you.
|

05-14-2007, 04:23 AM
|
|
New Member
|
|
Join Date: May 2007
Posts: 4
|
|
Be sure that they probebly will edit the video too..
|

05-18-2007, 03:45 AM
|
|
Junior Guru Wannabe
|
|
Join Date: May 2007
Location: Pune, India
Posts: 42
|
|
well about the watermark thing.. you can jus write your site url in very dim text in the middle of the video.. try editin that! lol..
|

07-01-2007, 06:57 PM
|
|
Newbie
|
|
Join Date: Jun 2007
Location: Conneecticut, USA
Posts: 10
|
|
^^
That'll work, I guess, lol...
|

07-17-2007, 10:47 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Jun 2007
Location: On the internet mostly
Posts: 30
|
|
anyone know any good programs for watermarking a whole lot of videos at once?
|

08-23-2007, 07:39 AM
|
|
New Member
|
|
Join Date: Aug 2007
Posts: 0
|
|
I will definitely watermark my videos!
Very interesting ideas guys! Thanks
@Linux-tech...
What do u mean by properly storing the video (Random 25-70 character names)???
Also what do u mean by naming the video obscurely?
Thanks in advance for the response! ;-)
Rich C
Quote:
Originally Posted by linux-tech
Simply put, flash:
create a flash playlist calling the files you want called, embed the FLASH item into the page, and voilla, you've got protected video.
Of course, you have to actually do things properly when storing the video too (random 25-70 char names, etc), but when you embed it into the flash playlist, as long as you named the video obscurely, there shouldn't be any issues at all with people "stealing video".
|
|

09-29-2007, 03:07 PM
|
|
Web Hosting Master
|
|
Join Date: Apr 2003
Location: Los Angeles, CA
Posts: 724
|
|
Quote:
Originally Posted by Just4kixPHP
I will definitely watermark my videos!
What do u mean by properly storing the video (Random 25-70 character names)???
Also what do u mean by naming the video obscurely?
|
Don't call it video1.flv but call it something like 8bbb961eadb7f8f1460715191281c69e.flv
|

10-29-2007, 10:42 AM
|
|
Disabled
|
|
Join Date: Aug 2007
Posts: 290
|
|
Use random generated names, based on the session
cheers 
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|