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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-20-2003, 01:42 PM   #1
Tuga
Confirmed User
 
Tuga's Avatar
 
Join Date: Nov 2002
Location: Portugal
Posts: 7,678
Protection and revenge!

Ok, I knew this day would come...
I have several paysites, and lots of other sites, and now I have some freeloader pseudo-hacker enemies. I need to protect my stuff against hotlinking and gather any information about avoiding trouble and making them pay for it.
Give me some good news, please! I know I could search the web for htaccess commands and stuff like that, but this shit is so obvious to some of you that it's easier to ask.
What I did was deleting all the hotlinked pictures but one, wich I change to show my url.
Thanks in advance!
__________________

Go Fuck Yourself!
ICQ 101411627
Tuga is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-20-2003, 02:35 PM   #2
x3m
Confirmed User
 
Join Date: May 2001
Posts: 254
This will protect your images and will give 403 error to the hotliners.

Code:
  RewriteEngine on
  RewriteCond %{HTTP_REFERER} !^http://.*yourdomain.com.*$ [NC]
  RewriteRule .*\.(gif|jpg|jpeg)$ - [F]
Let me know if you need to protect movies.
x3m is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-20-2003, 02:43 PM   #3
Tuga
Confirmed User
 
Tuga's Avatar
 
Join Date: Nov 2002
Location: Portugal
Posts: 7,678
I tried to put that and some simillar .htaccess files in the dir I want to protect, but I end up protecting myself from linking. I replaced the mydomain with my own url and I dont understand why it removes the pics from my own site. Is there anything on the server configuration that can be doing this?
__________________

Go Fuck Yourself!
ICQ 101411627
Tuga is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-20-2003, 02:47 PM   #4
Sly_RJ
Live Hard - Die Hard
 
Join Date: Feb 2002
Location: Ready to leave...
Posts: 17,042
Quote:
Originally posted by Tuga
I tried to put that and some simillar .htaccess files in the dir I want to protect, but I end up protecting myself from linking. I replaced the mydomain with my own url and I dont understand why it removes the pics from my own site. Is there anything on the server configuration that can be doing this?
Always put your pics in a separate directory. Then use the htaccess above to block out hotlinkers.
__________________
PHAT SERVERS - Quality dedicated hosting at a quality price!
sly AT phatservers DOT com - 147479144
Sly_RJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-20-2003, 02:53 PM   #5
Tuga
Confirmed User
 
Tuga's Avatar
 
Join Date: Nov 2002
Location: Portugal
Posts: 7,678
They are in a separate dir. That shit works, the problem is it's bloking me too. I put my domain in the code, but it's not stoping it from blocking the pics in my own site :\
__________________

Go Fuck Yourself!
ICQ 101411627
Tuga is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-20-2003, 02:55 PM   #6
Sly_RJ
Live Hard - Die Hard
 
Join Date: Feb 2002
Location: Ready to leave...
Posts: 17,042
Quote:
Originally posted by Tuga
They are in a separate dir. That shit works, the problem is it's bloking me too. I put my domain in the code, but it's not stoping it from blocking the pics in my own site :\
Did you list your full domain and your www free domain? You need to list both.
__________________
PHAT SERVERS - Quality dedicated hosting at a quality price!
sly AT phatservers DOT com - 147479144
Sly_RJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-20-2003, 03:05 PM   #7
Tuga
Confirmed User
 
Tuga's Avatar
 
Join Date: Nov 2002
Location: Portugal
Posts: 7,678
Yes I did that... I'm not a newbie to coding, just to htaccess. This looks so simple, but somehow it's not working :\
__________________

Go Fuck Yourself!
ICQ 101411627
Tuga is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2003, 03:11 AM   #8
Tuga
Confirmed User
 
Tuga's Avatar
 
Join Date: Nov 2002
Location: Portugal
Posts: 7,678
Any ideias?
__________________

Go Fuck Yourself!
ICQ 101411627
Tuga is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2003, 12:38 PM   #9
x3m
Confirmed User
 
Join Date: May 2001
Posts: 254
Images do not have to be in a separate directory. Give me an example and I can point out the problem.
x3m is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2003, 12:45 PM   #10
Mr.Fiction
Confirmed User
 
Join Date: Feb 2002
Location: Free Speech Land
Posts: 9,484
Everyone uses .htaccess to protect pics, do a Google search and you'll get a million pages with information on how to set it up.
Mr.Fiction is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.