|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Mar 2002
Posts: 449
|
how do you protect mpg's from hotlinkers?
thanks...
|
|
|
|
|
|
#2 |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
you're welcome.
|
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Feb 2002
Location: FTL
Posts: 271
|
Amp, you are so mean. LMAO
|
|
|
|
|
|
#4 |
|
Confirmed User
Industry Role:
Join Date: Aug 2001
Location: Nomad
Posts: 5,196
|
.htaccess
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://.*.yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain/.*$ [NC] RewriteRule .*\.(MPG|mpg)$ http://www.yourdomain.com [R] |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Mar 2002
Location: Mom's Basement
Posts: 44
|
your .htaccess file will handle this. If you're using apache (which you should be), have your admin make sure the mod_rewrite is installed and running. Then add the appropiate coding that will stop everyone from pulling that file or any file from your site unless it is requested from your site itself. Hope that made sense.
add this to the .htaccess RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC] RewriteRule .*\.mpg$ - [L] RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC] RewriteRule .*\.mpeg$ - [L] hope that helps
__________________
-ihateastro- there are no stupid questions, just dumb motherfuckers |
|
|
|
|
|
#6 | |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Quote:
sorry.... try again, and thanks for playing. |
|
|
|
|
|
|
#7 |
|
Confirmed User
Industry Role:
Join Date: Aug 2001
Location: Nomad
Posts: 5,196
|
lick balls
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Mar 2002
Location: Mom's Basement
Posts: 44
|
this board is fast... I reply when there are no replies and by the time I type it out, everyone has jumped in.
coo
__________________
-ihateastro- there are no stupid questions, just dumb motherfuckers |
|
|
|
|
|
#9 | |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Quote:
thanks for playing, but you are the weakest link. goodbye. |
|
|
|
|
|
|
#10 |
|
Confirmed User
Join Date: Mar 2002
Posts: 449
|
amp can u please contact me on icq 124017804
|
|
|
|
|
|
#11 | |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Quote:
This has been fully hashed out before here... do a search on the topic and you'll see some good stuff from Lane and some others who dissected the problem to it's bone. If they've come up with a new solution since then, I haven't heard of it. best of luck... |
|
|
|
|
|
|
#12 |
|
Confirmed User
Join Date: Jul 2001
Location: The Netherlands
Posts: 3,400
|
My script is almost ready and it rocks !
__________________
![]() The new FreeOnes! - AdultFilmStarContent - BabeGalleries and much more! - 1Strike Movies and much more! All powered by Xpressa |
|
|
|
|
|
#13 | |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Quote:
keep us tuned bro.... |
|
|
|
|
|
|
#14 | |
|
Confirmed User
Join Date: Jan 2002
Location: Toronto, ON, Canada
Posts: 1,081
|
Quote:
Not quite correct. What if the filename ends with .mPg ? BUMP! You'd better make it look this way: RewriteRule .*[Mm][Pp][Gg]$ http://www.domain/hotlink.jpg You could create an image that would look like "This image is hosted by blablabla.com" My :2 cents Dreamman
__________________
<a href="http://www2.famoushost.com/home.php" target="_blank"><b><FONT COLOR="FFFF00">www.FamousHost.com</font></b></a><br>Free Hosting With No Headers, Real FTP, <u>Get listed on the biggest TGP's with us!</u> |
|
|
|
|
|
|
#15 |
|
Registered User
Join Date: Jan 2002
Posts: 71
|
Let us know when that script is done. I am curious.
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60. |
|
|
|
|
|
#16 |
|
Confirmed User
Join Date: Oct 2001
Location: CZ
Posts: 554
|
Do what AMP said and use a rotator script or stick the files outside of your public HTML or in a directory with all the permissions removed/htaccess stopping all access and then use a script in php or something to stream (no I dont mean streaming video) up to the browser.
You can then check whatever you like in the script before picking it up with a file IO command and pushing it up to the browser. Jayson
__________________
Sapphic Cash - We Do It Right |
|
|
|