GetDotted Domains

Viewing Thread:
"Hot Linking Protection."

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Thu 30/10/03 at 12:39
Regular
"www.funrunner.co.uk"
Posts: 289
Is there anyway i can do this with freeola?
Sun 02/11/03 at 20:51
Regular
"Chavez, just hush.."
Posts: 11,080
Sod that, I'm not letting people take the files and claim credit for them, especially when some are 10MB+ in size!

Webflash.com is a site that lives on bandwidth theft. I was bored and I noticed that they were taking more of my games after I'd already moaned at them...

---------------
SUBJECT: I've already told you before...

BODY:

Bandwidth theft.

It's illegal, it's infringing copyright. SO PLEASE DON'T DO IT!

People pay for their bandwidth and you're just taking the individual files for your site and may as well be claiming to host them yourself. Basically people are funding your site for you.

Take all of my games off of your site now, I let you off the first time but I've found yet another game being leeched from my site and again there's no credit to me, you've even managed to take the game off of the page it was on and just link to the file. It wouldn't be too bad if you used the page the game came on as I'd get some credit for it, but you've just taken the file so nobody knows that I'm providing it for you.

I'm giving you 2 days to either clear all the games from my site off of yours or give me credit for the files, as in a big link saying, 'Hosted with phi11ip.com.' If you don't do this, I'll have to contact your host because I'm not having it go on any longer.

Oh, and I love the irony of this comment on your site, "Please upload the image to your own server, because if we find it leeched from ours i will personally remove your site from our listing, and contact your host."

Thanks.

Phillip
---------------

Let's see what they say, I'm not that fussed as I haven't got any real limits, I just hate people taking the p*ss like this! I might just nick stuff back off of them, that should be interesting!
Sat 01/11/03 at 13:49
Regular
"www.funrunner.co.uk"
Posts: 289
ye k woteva
Sat 01/11/03 at 12:20
Regular
"Eff, you see, kay?"
Posts: 14,156
Yup.
Fri 31/10/03 at 17:33
Regular
"www.funrunner.co.uk"
Posts: 289
its against all principles?

so people are stealing bandwith but to stop them that is morally wrong?
Fri 31/10/03 at 16:28
Regular
"Eff, you see, kay?"
Posts: 14,156
I suppose I may as well tell you how to do this.

You need to hide your movies in a folder, say for example, 810a5bdaafc6dd30b1d9979215935871/, then create a script called download.php, which goes something like this:

1. Check your $HTTP_REFERER to see if the link has come from your domain, use stristr(); for this.
2. Read $_GET['file'] for the filename you want.
3. Send the right header for the file using header("Content-type: video/mpeg"); or something like that, you'll need to look up the correct MIME headers and maybe check the extension for what they should be.
4. Run fpassthru ("810a5bdaafc6dd30b1d9979215935871/$_GET[file]"); to send the data to the browser.

Hit the page with download.php?file=somevideofile.mpg. Add at-signs (@) in front of your functions to supress errors which will give away the directory.

You'll need some technique to do this properly. I'm not going to help you further with this as I'm morally opposed to hot link protection. It's against all principles of the Internet.
Fri 31/10/03 at 14:35
Regular
"Chavez, just hush.."
Posts: 11,080
Don't think you can stop videos...
Fri 31/10/03 at 14:07
Regular
"www.funrunner.co.uk"
Posts: 289
Im not really bothered bout the pictures because they are only a small percentage of my site. Im more concerned about the videos and the other big files

I may email freeola and see if they can do anything
Fri 31/10/03 at 13:47
Regular
"It goes so quickly"
Posts: 4,083
You could probably use PHP's Image functions.

Placing all the images in your root directory, but not in the 'htdocs', and then using PHP to grab the image and create a copy for use only while the page is being used.

Within the PHP Script, you could include checks that the file isn't being called from an external web site.

This would prevent hot-linking, but not stop people 'right-clicking' and saving your images.

Its an idea, one that might work, so have a look into it.

I don't know if it would work, so can't give you any working code at the moment, neither do I have the means/time to create and test any, sorry.
Fri 31/10/03 at 12:24
Regular
"Chavez, just hush.."
Posts: 11,080
I take it that's a no then!

Give them a ring and ask them, tell them that 2o bjillion gig of bandwidth is being stolen from you each month and it will benefit them if they help you...
Thu 30/10/03 at 21:18
Regular
"Eff, you see, kay?"
Posts: 14,156
Last time I installed a .htaccess on Freeola I got a massive lecture for screwing up the server.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Just a quick note to say thanks for a very good service ... in fact excellent service..
I am very happy with your customer service and speed and quality of my broadband connection .. keep up the good work . and a good new year to all of you at freeola.
Matthew Bradley
Many thanks!!
Registered my website with Freeola Sites on Tuesday. Now have full and comprehensive Google coverage for my site. Great stuff!!
John Shepherd

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.