|
|
|
||||
|
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 |
|
Registered User
Join Date: Mar 2002
Posts: 23
|
Hey everyone...
How do you deal/prevent with hotlinkers that either make links to your mpegs so surfers can right-click and "save as" or have the text ready to cut and paste for the srufers? Is there a technological solution other than renaming the files and altering the gallery HTML? (Don't want to get blacklisted for changing HTML) Damn asian sites are killing me... HELP! ![]() |
|
|
|
|
|
#2 |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
format c:
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Feb 2002
Posts: 54
|
.htaccess
|
|
|
|
|
|
#4 | |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Feb 2001
Location: USA
Posts: 6,894
|
Can't you deny access to asian IPs/domains with .htaccess?
|
|
|
|
|
|
#6 |
|
So Fucking Banned
Join Date: Mar 2002
Posts: 703
|
htaccess
|
|
|
|
|
|
#7 |
|
Master of Gfy.com
Industry Role:
Join Date: Feb 2002
Posts: 14,887
|
I make html redirects and put them in the movie file and fuck the surfer with either popup hell or either a good converting sponsor.
|
|
|
|
|
|
#8 | |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Quote:
|
|
|
|
|
|
|
#9 | |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
Quote:
just block no-referer surfers to the movies
__________________
|
|
|
|
|
|
|
#10 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2001
Location: Murrieta, CA
Posts: 3,620
|
Quote:
Just set a cookie from your htaccess. Can't remember the code though.
__________________
I buy plugs Skype: Due_Global /Due |
|
|
|
|
|
|
#11 | |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Quote:
please... |
|
|
|
|
|
|
#12 |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com.*$ [NC] RewriteRule .*[Mm][Pp][Gg]$|.*[Gg][Ii][Ff]$|.*[Mm][Pp][Ee][Gg]$ / [F] do this for each file type it should take care of it
__________________
|
|
|
|
|
|
#13 |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
on the sample code i just gave, it protects for mpg, gif and mpeg for example
__________________
|
|
|
|
|
|
#14 |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
did that... in fact, I trried 4 or 5 variations of htaccess.... not a single one would allow the movie to come through. (running Apache 1.3.19 Win32)
|
|
|
|
|
|
#15 | |
|
Confirmed User
Industry Role:
Join Date: Mar 2001
Location: Murrieta, CA
Posts: 3,620
|
Quote:
Movie viewers does not carry refferers. You need cookies to block it
__________________
I buy plugs Skype: Due_Global /Due |
|
|
|
|
|
|
#16 |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
if you already have hotlink protection and if you have this line:
RewriteCond %{HTTP_REFERER} !^$ You gotta remove this line! it is allowing no-referer hits to the file.. type-in and right click will be allowed. if you remove that line, it will block that kind of hits...
__________________
|
|
|
|
|
|
#17 |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
nevermind..
__________________
|
|
|
|
|
|
#18 |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
right.... I can BLOCK access to it easily enough... what I can;t get it to do is ALLOW access to the movies. Something does not crossover from the htaccess scripting to the video viewer and it generates an error box
|
|
|
|
|
|
#19 | |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
Quote:
__________________
|
|
|
|
|
|
|
#20 | |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Quote:
|
|
|
|
|
|
|
#21 |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
ok, Due was right, its done with cookies
Add this rule to your .htaccess file in your movie directory: RewriteEngine on RewriteOptions inherit RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*yourdomain.com/ [NC] RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$) RewriteRule /*$ http://www.yourdomain.com/ [L,R] put this on the page where you have the movies at: < SCRIPT LANGUAGE="javascript" > // Calculate the expiration date var expires = new Date (); expires.setTime(expires.getTime() + 1 * 60 * 60 * 1000); document.cookie = "id=valid; path=/" + "; expires=" + expires.toGMTString(); < /SCRIPT > (remove those extra spaces inside the script tags)
__________________
|
|
|
|
|
|
#22 |
|
Registered User
Join Date: Feb 2002
Posts: 54
|
It didn't show up lane...
NM |
|
|
|
|
|
#23 |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
told ya....
but NOOOOOO..... don't listen to Amplitude! I'm just a fuckin' monkey! |
|
|
|
|
|
#24 |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
the problem with that code is, you will not give access to people without javascript or cookies.. and i dont know how the tgp bots would react to this change
__________________
|
|
|
|
|
|
#25 | |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Quote:
|
|
|
|
|
|
|
#26 |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
and if those hotlinkers iframe your page, the cookie will be sent to the surfers first, and the surfers with browsers that allow third party cookies will have access to the movies..
__________________
|
|
|
|
|
|
#27 |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
yea, a script is the best solution i guess
__________________
|
|
|
|
|
|
#28 |
|
Confirmed User
Join Date: Jul 2001
Location: The Netherlands
Posts: 3,400
|
Amputate Your Head is right .htaccess doesn't work for movie files. I've spend all day long on this issue after a bandwith thief stole 15 Mbyte/sec from me ! 150 Gb in 1 day!
The problem is that when you remove this line from your .htaccess RewriteCond %{HTTP_REFERER} !^$ people can't download the movie any longer with MS Media Player. Yes they are also unable to use "save target as", but the problem is that most people have Media Player connected. I even don't know how to remove the link of mpg files with MediaPlayer in WinXP myself !! So what I did was removing the line which I was speaking about above and put this extra tag on top of the .htaccess RewriteCond %{HTTP_REFERER} ^$ [NC] RewriteCond %{HTTP_USER_AGENT} ^nsplayer.*$ [NC] RewriteRule .*\..*$ - [L] RewriteCond %{HTTP_REFERER} ^$ [NC] RewriteRule .*\..*$ http://www.videotemple.com/hotlinkerssuck.shtml [R,L] And it was working for *.wmv files, so I thought I had the solution. After this I was going to change the .htaccesses on one of my other site. On this site I used *.mpg files and you know what ??? ONCE AGAIN IT DIDN'T WORK!!!! You know why? Because when MediaPlayer is loading a movie it first gives as referer "nsplayer" which is good, but after that it gives a second referer which is Mozilla , the same as Internet Explorer !! And that is not allowed by the .htaccess It was working with *.wmv files because with this files MediaPlayer only gives one referer which is "nsplayer". You are still following me ? I haven't looked any further yet, but I think that the only solution will be to use a cgi script. And then one in such a way that nobody can detect the place of your movie files. Or you can rename your mpg files to wmv that will still work for the time being, but then visitors need to rename the files which is not very handy. Long story and all because those hotlinking monkeys ! Let me know if you already have found a good solution.
__________________
![]() The new FreeOnes! - AdultFilmStarContent - BabeGalleries and much more! - 1Strike Movies and much more! All powered by Xpressa |
|
|
|
|
|
#29 | |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
Quote:
__________________
|
|
|
|
|
|
|
#30 |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
from what I can tell, it's after the player loads, but before the movie starts loading.... but I couldn't be 100% on that either... but the player will load... and then lock with the error.
|
|
|
|
|
|
#31 |
|
Registered User
Join Date: Feb 2002
Posts: 54
|
Well poop.
Amp, I agree you are a fucking monkey. A really experienced, wise monkey. |
|
|
|
|
|
#32 |
|
Confirmed User
Join Date: Jul 2001
Location: The Netherlands
Posts: 3,400
|
The problem is that MediaPlayer FIRST gives as referer "nsplayer" and AFTER that "mozilla".
It's by the way very strange that MediaPlayer gives only 1 referer back when it's loading WMV files. Or maybe it's more strange that it's giving 2 referers for loading a mpg file........
__________________
![]() The new FreeOnes! - AdultFilmStarContent - BabeGalleries and much more! - 1Strike Movies and much more! All powered by Xpressa |
|
|
|
|
|
#33 |
|
Confirmed User
Join Date: Oct 2001
Location: CZ
Posts: 554
|
Its not going to help you for now but in future if you have access to something like PHP and .htaccess isnt going to help you with movies then stick them outside your web area or in a directory and block all access with .htaccess or file permissions and use File IO functions to read the file and then stream it to the browser using the script.
You can then check whatever you like in the script such as referers or IP addresses or what have you. If TGP's have problems accepting links for a movie that is say a PHP file its easy enough to make it look like a movie so that shouldnt be an issue either. Jayson
__________________
Sapphic Cash - We Do It Right |
|
|
|
|
|
#34 |
|
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
i was guessing maybe first the browser sends the http request for the movie (where "Mozilla" is sent), and the server responses and tells the browser that its a movie file... and the movie player loads and it connects to the movie url again where the nsplayer is sent as user_agent and no referer is sent..
if what i just said is correct, with the htaccess you gotta block all no-ref browser hits, and allow all hits including norefs from nsplayer. but you gotta do these two at the same time. (i am thinking how that could be done).. just an idea....
__________________
|
|
|
|
|
|
#35 |
|
Confirmed User
Join Date: Oct 2001
Location: CZ
Posts: 554
|
Dont you hate it when you get distracted in the middle of a reply and someone else says the same thing and then you look like a dickhead.
Anyway, freeones/Lane already pointed out using a script. I have PHP examples if anyone needs them. I use it for some pics and also for zip files and the like. Jayson
__________________
Sapphic Cash - We Do It Right |
|
|
|
|
|
#36 |
|
Confirmed User
Join Date: Nov 2001
Location: Porn Peddler
Posts: 679
|
We used a PHP program which creates the link to the video as a sym link. The program then renames the file twice per hour and rotates the video twice per day. We get alot of error traffic from the hotlinkers and send it to our paysites.
|
|
|
|
|
|
#37 | |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Quote:
|
|
|
|
|
|
|
#38 |
|
Registered User
Join Date: Jan 2002
Posts: 60
|
Check this out..
Right Click disabled.. view source is encrypted. http://www.coolness.com/streaming/stream5e.html Streaming Real Video but it works with any stream.. embeded or not. Is this what your looking for?
__________________
- RT |
|
|
|
|
|
#39 | |
|
Confirmed User
Join Date: Nov 2001
Location: Porn Peddler
Posts: 679
|
Quote:
|
|
|
|
|
|
|
#40 |
|
Registered User
Join Date: Mar 2002
Posts: 23
|
Whoa 38 posts!
When it comes to bandwidth sucking whores we certainly rally together don't we I see you are all back to the same conclusions I have already drawn The only possible way to combat this is changing the location. Sleepy: About the php script idea - what would the link to the mpeg look like? Would it change also or just internally? Would tgp's accept this? Would TGP software like Brownie accept this? ![]() |
|
|
|
|
|
#41 | |
|
we'll miss you our friend. RIP
Industry Role:
Join Date: Sep 2001
Location: Fernie, BC
Posts: 25,115
|
Quote:
|
|
|
|
|
|
|
#42 |
|
"Assassins"
Industry Role:
Join Date: Dec 2001
Location: At home
Posts: 17,277
|
I tell ya what you do... My way makes you $$$ Change the name of your movies in ftp.. Use a find and replace software and change your html on all your pages. Then upload the new html. Then use a .htaccess file to bouce those hot linking scum fuck bags to hell....
![]() |
|
|
|
|
|
#43 |
|
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
unless of course you have over 1000 movies to change the names of.
|
|
|
|
|
|
#44 | |
|
Confirmed User
Join Date: Nov 2001
Location: Porn Peddler
Posts: 679
|
Quote:
|
|
|
|
|
|
|
#45 | |
|
"Assassins"
Industry Role:
Join Date: Dec 2001
Location: At home
Posts: 17,277
|
Quote:
|
|
|
|
|
|
|
#46 |
|
Registered User
Join Date: Mar 2002
Posts: 23
|
You CAN'T change the html on a movie gallery or any tgp gallery for that matter...
that is the whole point... it is easy to find what is being hotlinked and simply change your galleries/path - but that gets you blacklisted... or at least that is what I am assuming - I know a lot of the big tgp's have scripts that check their galleries for altered HTML... What we need is a script that has a link (php or whatever) tht never changes... so http://www.blah.com/dsafds$2d.php or whatever I don't know php myself... and then try and make it so that link MUST be clicked on from a certain domain - yours. If it is pasted into a browser it won't work and if you right-click and try and save as from a different domain it won;t work etiher = I don't know if this is possible... Also I have seen inside some paysites that have mpegs available for download and it seems they use php - if you paste those urls into a browser it doesn't work and if you hotlink to them they don't work either - left or right click - but is this working only because you have LOGIN first then they work? Can this be done without having someone login? That would be the solution. Or send them a cookie or use some kind of something in the HTML to only allow access from your domain etc. |
|
|
|
|
|
#47 |
|
Confirmed User
Join Date: Mar 2002
Posts: 574
|
Why not to place links on your tgp galleries to pages with embedded Windows Media Player and encode movies with Windows Media 8 Encoding Utility instead of mpeg files? You can use htaccess protection based on HTTP_REFERER or any other you want
|
|
|
|
|
|
#48 |
|
Registered User
Join Date: Mar 2002
Posts: 23
|
because the tgp owners want mpegs that their surfers can download and save.
I am starting to think there is no way possible to do this |
|
|
|
|
|
#49 |
|
Confirmed User
Industry Role:
Join Date: Jan 2002
Location: Miami Beach, FL
Posts: 203
|
I need some cash, so I can fix that for you for $50.
Would have done it for free, but need money sorry.
__________________
Need help dealing with a hacked website? Contact me via icq 163583431 :D Premium Bandwidth Managed Servers, 12 Years in business xxxHOSTit.com I work for xxxhostit.com |
|
|
|
|
|
#50 |
|
I'm Lenny2 Bitch
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
|
What about linking the movie thumbs on the gallery to an html page and having the movie file embedded in the html page.
Wouldn't htaccess work then?
__________________
sig too big |
|
|
|