hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Programming Tutorials : Prevent users from stealing video
Reply

Programming Tutorials How-Tos related to programming, databases, and the like.
Forum Jump

Prevent users from stealing video

Reply Post New Thread In Programming Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-18-2006, 10:28 PM
zennmaster zennmaster is offline
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?

Reply With Quote


Sponsored Links
  #2  
Old 05-20-2006, 12:53 AM
Jxrad Jxrad is offline
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.

Reply With Quote
  #3  
Old 05-20-2006, 01:11 AM
zennmaster zennmaster is offline
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.

Reply With Quote
Sponsored Links
  #4  
Old 05-20-2006, 01:18 AM
Jxrad Jxrad is offline
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.

Reply With Quote
  #5  
Old 05-20-2006, 01:21 AM
zennmaster zennmaster is offline
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.

Reply With Quote
  #6  
Old 05-11-2007, 09:09 AM
Shai-Soft Shai-Soft is offline
New Member
 
Join Date: May 2007
Posts: 4
I don't think so

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.

Reply With Quote
  #7  
Old 05-13-2007, 06:36 PM
linux-tech linux-tech is offline
<?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".

Reply With Quote
  #8  
Old 05-13-2007, 07:16 PM
KiranHost KiranHost is offline
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.

Reply With Quote
  #9  
Old 05-14-2007, 04:23 AM
Shai-Soft Shai-Soft is offline
New Member
 
Join Date: May 2007
Posts: 4
Be sure that they probebly will edit the video too..

Reply With Quote
  #10  
Old 05-18-2007, 03:45 AM
SiddDubey SiddDubey is offline
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..

Reply With Quote
  #11  
Old 07-01-2007, 06:57 PM
Jynx Jynx is offline
Newbie
 
Join Date: Jun 2007
Location: Conneecticut, USA
Posts: 10
^^
That'll work, I guess, lol...

Reply With Quote
  #12  
Old 07-17-2007, 10:47 PM
appage appage is offline
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?

Reply With Quote
  #13  
Old 08-23-2007, 07:39 AM
Just4kixPHP Just4kixPHP is offline
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 View Post
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".

Reply With Quote
  #14  
Old 09-29-2007, 03:07 PM
luki luki is online now
Web Hosting Master
 
Join Date: Apr 2003
Location: Los Angeles, CA
Posts: 724
Quote:
Originally Posted by Just4kixPHP View Post
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

Reply With Quote
  #15  
Old 10-29-2007, 10:42 AM
triXtyle triXtyle is offline
Disabled
 
Join Date: Aug 2007
Posts: 290
Use random generated names, based on the session

cheers

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Blacknight Lends a Hand to Users of Retiring Blog Platform Posterous Web Hosting News 2013-02-22 13:56:35
Web Host Bluehost Posts MobileMe Migration Video to Win Apple Customers Web Hosting News 2012-06-20 14:20:51
Data Center Outage Hits 400,000 Clients of Email Marketing Tool MailChimp Web Hosting News 2012-01-04 22:04:19
European Security Firm SecPoint Releases Cloud Penetrator Scanner Web Hosting News 2011-09-22 18:38:31
1.3 Million User IDs and Passwords Stolen in Washington Post Jobs Site Hack Web Hosting News 2011-07-07 14:41:28


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?