![]() |
![]() |
![]() |
||||
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: 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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Live Hard - Die Hard
Join Date: Feb 2002
Location: Ready to leave...
Posts: 17,042
|
Quote:
__________________
PHAT SERVERS - Quality dedicated hosting at a quality price! sly AT phatservers DOT com - 147479144 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Live Hard - Die Hard
Join Date: Feb 2002
Location: Ready to leave...
Posts: 17,042
|
Quote:
__________________
PHAT SERVERS - Quality dedicated hosting at a quality price! sly AT phatservers DOT com - 147479144 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Nov 2002
Location: Portugal
Posts: 7,678
|
Any ideias?
__________________
Go Fuck Yourself! ![]() ICQ 101411627
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |