NameSilo

Stop Site Stealers?

Spaceship Spaceship
Watch

dc1pop

VIP Member
Impact
13
Hi,

I have an arcade site and recently im getting in undated with attacks of php curl scripts nicking all the games (swf files and images files) from my server which is causing my bandwith usage to be massive.

Is their any things i can use to stop people being able to do this?

Thanks,
Darren
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Instead of linking directly to the swf - have this:

file.php
PHP:
if(eregi('your_web_site.tld',$_SERVER['HTTP_REFERER'])){
include $_GET['file'] . '.swf';
}else{
header('Location: hotlink.html');
}

Then goto your files with the url: file.php?file=name_of_game
 
0
•••
Mikor said:
Instead of linking directly to the swf - have this:

nice code there, would be useful for many
 
0
•••
PolurNET said:
nice code there, would be useful for many

I'm using it on my site - it saves a lot of bandwidth, by modifiying it a bit, you can add it to anything (so far I have it in: games, phpproxy, and a forum signature generator)
 
0
•••
Thanks,

I have PMed you.
 
0
•••
Nice code...thanks!
 
0
•••
Well you guys should be careful:
'HTTP_REFERER' is EMPTY for those who use privacy tools.


Now, I'll hear you coming: "Who uses this software anyways?"

Take Norton Internet Security for instance. By default, it sets its privacy controls to "on".. And I don't know about you, but I guess there are a lot of parents turning these things "on" to provide a safer internet access for their children.. And yes, these children are a part of your website audience. If your games are not working, you'll lose visitors. Those won't be coming back.


There are a few other ways to block this traffic.. But I guess it would be hard.
 
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back