GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Protection and revenge! (https://gfy.com/showthread.php?t=135555)

Tuga 05-20-2003 01:42 PM

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!

x3m 05-20-2003 02:35 PM

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.

Tuga 05-20-2003 02:43 PM

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?

Sly_RJ 05-20-2003 02:47 PM

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.

Tuga 05-20-2003 02:53 PM

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 :\

Sly_RJ 05-20-2003 02:55 PM

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.

Tuga 05-20-2003 03:05 PM

Yes I did that... I'm not a newbie to coding, just to htaccess. This looks so simple, but somehow it's not working :\

Tuga 05-21-2003 03:11 AM

Any ideias?

x3m 05-21-2003 12:38 PM

Images do not have to be in a separate directory. Give me an example and I can point out the problem.

Mr.Fiction 05-21-2003 12:45 PM

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.


All times are GMT -7. The time now is 02:17 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123