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)
-   -   fuckin around testin hotlink protection (https://gfy.com/showthread.php?t=33715)

Crewd 05-20-2001 02:12 AM

fuckin around testin hotlink protection
 
http://www.adultcrew.com/ttt/ggbutton05.gif
well fuck that doesnt work... anyone got a sample .htaccess hotlink protection thingy?

------------------
http://www.ifrance.com/sitedetoom/smiley/fou.gif Crewd
<spam>3.5 cents per click BLIND - No ratios!</spam>

[This message has been edited by Crewd (edited 05-20-2001).]

Aussie 05-20-2001 02:26 AM

Add the following to the .htaccess file:

# Rewrite Rule for images
RewriteCond %{HTTP_REFERER} <URL of page accessing your domain>
RewriteRule ^(.*)$ <A HREF="http://<same" TARGET=_blank>http://<same</A> as above URL>


You would replace the <URL of page accessing your domain> above with the domain name
and path of the page that is referring to your domain. For example: www.their-isp.net/users/mypage/

The RewriteCond directive states that if the {HTTP_REFERER} matches the URL that
follows, then use the RewriteRule directive. The RewriteRule directive will redirect any
reference back to the referring web page.

Hope this works havn't tried it myself.

CDSmith 05-20-2001 03:27 AM

Can anyone just put up a link to a page that has this code already in place and working so that we can see it? I'd like to get this going as well.

<font face="Arial">___________
CD http://members.home.net/cyberdogs/An...cool_shine.gif
* <a href="http://www4.smutserver.com/babes/bgnetwork/submit.html" TARGET="_blank"><font color="#27FFFC">Babe Galleries Network</font></a> < -- submit galleries here
* <a href="http://www.oliver-klozov.com/cgi-bin/refer.cgi?ref=cdsmithok" TARGET="_blank"><font color="#CBE6FF">60% of all signups, 40% of all rebills</font></a> + High Quality free content, mthly cash bonuses
* <a href="http://members.home.net/cyberdogs/Anti-Censorship%20Site/" TARGET="_blank"><font color="#FFCCCC">Sites Against Censorship</a><font color="#EDDDDD"> Support us, support your future</font></font>

ldinternet 05-20-2001 03:54 AM

Well... try getting into one of my AVS sites at http://www.hahsex.com/teenie/access/index.html

The .htaccess in the access directory won't let you in unless you come in through free net pass password box on the main page or from the freenetpass link list (by entering your free net pass id), the .htaccess file is told to redirect all traffic to a 403 page. I put the same in all my image directories. I also have (errorous) status code redirect in the base directory htdocs/ to redirect all bad requests to a teen mail page. I also put a frame break on each page, so I can't be 0-framed.

It isn't possible to link straight to my images. So hotlinking me on a bbs won't work, and posting a link directly to the image won't work. For example, http://www.hahsex.com/images/teen.jpg DOES exist on my server (it even is used on the main page), but because the referring url is gofuckyourself.com and NOT hahsex.com, then you will be automatically redirected to the teen mail page.

Posting back doors to my AVS sites doesn't work, posting image directories doesn't work, I can't be hotlinked, and can't be 0-framed. Pretty good protection.

If you want the .htaccess files - I'll post them up here. http://bbs.gofuckyourself.com/board/smile.gif

Crewd 05-20-2001 04:46 AM

I think we need a good .htaccess tutorial type site.. I'll have a look around and post any that I find

------------------
http://www.ifrance.com/sitedetoom/smiley/fou.gif Crewd
&lt;spam&gt;3.5 cents per click BLIND - No ratios!&lt;/spam&gt;

ldinternet 05-20-2001 04:51 AM

Try http://www.webpimps.com/ for some good starter advice.


All times are GMT -7. The time now is 09:59 AM.

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