hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Preventing File Hotlinking
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Preventing File Hotlinking

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-17-2003, 12:03 PM
Fatty Fatty is offline
Aspiring Evangelist
 
Join Date: Sep 2002
Location: Scotland
Posts: 421

Preventing File Hotlinking


Hi,

We lose about 200gb a month to hotlinkers. Now I know about using the apache module to protect images, though I don't use it as many people have reported that they have troubles. No doubt their browser security ettings or such.

What I am really interested in is preventing people from hotlinking to files like .mov etc. The rewrite code does not do this, they can still right click and download form a link on another site.

I need a way to rename files on the server and automatically change the same file on the page. I am sure this would be fairly easy to do in PHP or something substituting filenames for a variable or such and changing that....

Any ideas, I really don't have the expertise or the time to impliment our own solution. We would definetly look at a commercial solution to this. As I say it costs us quite a bit.

Thanks!

Reply With Quote


Sponsored Links
  #2  
Old 01-18-2003, 09:21 PM
pyoor pyoor is offline
Web Hosting Guru
 
Join Date: Jan 2003
Posts: 261
To stop image hotlinking (bandwidth stealing sucks!) I recommend you look at this site.... It explains it fairly simply (as simple as you can make it anyways)

http://www.javascriptkit.com/howto/htaccess10.shtml

Reply With Quote
  #3  
Old 02-02-2003, 08:27 AM
Fatty Fatty is offline
Aspiring Evangelist
 
Join Date: Sep 2002
Location: Scotland
Posts: 421
Thanks! I ended up using a php program to partly hide the urls and htaccess to cover the rest.

__________________
http://www.monstersandcritics.com - News & Reviews

Reply With Quote
Sponsored Links
  #4  
Old 02-02-2003, 04:00 PM
BiGWill BiGWill is offline
Web Hosting Master
 
Join Date: Dec 2001
Location: Darmstadt, Germany
Posts: 1,096
Nice tutorial ...
What about direct Linking to whole sites?
Instead of going via index.html to site32.html going directly to site32.html
Is there also a way to prevent this somehow? Telling users to not bookmark sites, and access them directly, rather than going via index.html ?

Thanks!

__________________
In just two days, tomorrow will be yesterday.

Reply With Quote
  #5  
Old 02-02-2003, 08:28 PM
Dylan Dylan is offline
Web Hosting Master
 
Join Date: Oct 2000
Posts: 1,113
yes, there are quite a few examples in the URL Rewriting Guide

Reply With Quote
  #6  
Old 02-02-2003, 08:59 PM
vito vito is offline
Enthusiastic chef
 
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 11,061
Quote:
Originally posted by Fatty
Thanks! I ended up using a php program to partly hide the urls and htaccess to cover the rest.
Fatty, would you mind telling me which php program you used? I need something like this as well...

Thanks.

Vito

__________________
DemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Gladinet Launches Cloud Enterprise Service to Access SAN as a Private Cloud Web Hosting News 2013-03-28 14:19:44
File Sharing Service RapidShare Changes Traffic Model to Deter Piracy Web Hosting News 2012-11-09 12:16:35
SingleOS Launches Fuscan Linux Cloud 2.0 Web Hosting News 2011-08-12 19:09:05
US-CERT Publishes Recommendations for Preventing Cyber Security Attacks Web Hosting News 2011-07-22 19:07:35
Web Host WebHostingBuzz Partners with Cloud Platform SMEStorage Web Hosting News 2011-06-01 18:10:25


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 Off
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?