![]() |
![]() |
![]() |
||||
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: Apr 2001
Location: MTL, QC, CAN
Posts: 1,243
|
htaccess or whatever...
I need something to protect hotlinkers from hotlinking my videos from my server...
Anyone knows a good code for that? Thanks, Steve |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Nov 2001
Location: padded room
Posts: 738
|
just ad the extention to the rewrite rule you are using for your pic hotlinking.
For example: here is a rewriterule that covers jpg,jpeg,gif and rm files with both case covered. RewriteRule .*[Jj][Pp][Ee]*[Gg]$|.*[Gg][Ii][Ff]$|.*[Rr][Mm]$ http://www.yourdomain.com/thieves.htm hope that makes sense :o)
__________________
Affordable Quality Niche Content at <a href="http://reyko.com/in.php?ref=amadman">Reyko</a> Please submit your free and AVS sites <a href="http://xstash.com/sexpack/submit.html">here</a> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Apr 2001
Location: MTL, QC, CAN
Posts: 1,243
|
I do not use any htacces for my pics...since I do not make pics galleries or stuff like that.
I am only in the movies things... so can you expalin a bit more? ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Mar 2001
Location: BumFuck Ohio
Posts: 768
|
![]() Won't work with windows media player. You need to add a piece of javascript to the page that has the links as well as a line of code to the htaccess file. Steve, email me for the code.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Mar 2001
Location: BumFuck Ohio
Posts: 768
|
![]() crap, email has been disabled...
webmaster at myhottiez dot com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Apr 2001
Location: MTL, QC, CAN
Posts: 1,243
|
Quote:
Well, the hotlinkers will only have to copy/paste the links....without the javascript, and will be able to hotlink anyway...? Am I missing something?? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Here's another for .htaccess file
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain.com [NC] RewriteRule .*\.(gif|GIF|jpg|JPG|mpg|MPG|Mpeg|mpeg|MPEG|rm|RM) $ http://www.yourdomain.com [R,L] DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Mar 2001
Location: BumFuck Ohio
Posts: 768
|
![]() The javascript will set a cookie for them and you can specify how long the cookie lasts. If they don't have the cookie, they don't get access to the movies, so no hotlinking. The other stuff posted here only works with netscape.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Apr 2001
Location: MTL, QC, CAN
Posts: 1,243
|
Quote:
![]() Thanks a lot if you can!! ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
rewrite rules are browser independent they also work for MSIE
DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Mar 2001
Location: BumFuck Ohio
Posts: 768
|
![]() windows media player does not have a referrer so it will not work.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Feb 2002
Location: Toronto, ON
Posts: 962
|
Wow.. okay here's an easier way to write those rules:
RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.theadultwire.com.*$ [NC] RewriteRule ^.*\.(gif|jpg|swf|css|png|jpe|jpeg|js)$ http://www.theadultwire.com/adultapp/thumbs/ [NC,R] You don't need to do each capitalization, just put 'NC' in the brackets at the end.
__________________
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Darksoft you're right I didn't notice that this was for Media Player
DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Mar 2001
Location: BumFuck Ohio
Posts: 768
|
![]() Yeah, since netscape using it's own built-in shit for a lot of things it may never crop up, and since Billy G is such a fuckstick, he had to make it so wmp didn't use a referrer... otherwise this wouldn't be necessary...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
OU812
Join Date: Feb 2001
Location: California
Posts: 12,651
|
Maybe this will work
__________________
Epic CashEpic Cash works for me Solar Cash Paysite Plugin Gallery of the day freesites,POTD,Gallery generator with free hosting |
![]() |
![]() ![]() ![]() ![]() ![]() |