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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-04-2007, 04:23 PM   #1
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
:stoned ANTI-HOTLINKING for videos

Just finished a little script to protect against video hotlinking.


http://tools.webspacemania.com/vprotect/1/fudge.wmv

Basically what the script does is disables videos unless the person linking or hotlinking the video has a banner for the site displayed..

http://tools.webspacemania.com/vprotect/make.php
now visit this page you will see a banner.. close it and come back and try the link again and you will notice the video works fine now

If anyone is interested in the details let me know.

This is a GREAT move for sponsors, as it allows you to ALLOW your affiliates to hotlink your videos easily AND promote your site while disallowing blatant hotlinking..

There are many features that can be added to provide even more functionality. such as adding popups if people try to hotlink the videos ( but still allowing the video to be played ) or displaying alternate videos

Its also built to allow individual banners for each video before they can have access ( so they cant just view the banner once then view all the videos )
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2007, 04:27 PM   #2
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
p.s. its really easy to add to your existing site.

I thought up the idea while i had my afternoon nap and coded and installed it in less than half an hour. all you gotta do is put it in place
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 07:49 PM   #3
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
figure i would bump this as i dont see many people utilizing any sort of hotlink protection for videos
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 08:24 PM   #4
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
its actually pretty cool because the end url cannot be detected . well it can but its useless.

The actual url of the video is in a folder with your ip in it.. so when you view the image it records your ip , it checks ip log , if your not on it you get served a diff video, if you ARE on the list having viewed the banner , then the folder containing the video is renamed to your ip , and then you are sent there.. although if you gotta shitload of people theres a diff way of doing it ( as the folder might get renamed before the last guy has finished watching
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 08:26 PM   #5
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
basically your forwarding your videos from one folder to another thus your perm video link always stays the same but the real video link is changing all the time , so if anyone copies it ( the real url ) , it will work for a short time ( or in the above case it would only work for them )
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 08:27 PM   #6
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
very nice man!

I would grab it from you, but my new tours are all using flash video embeds
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 08:29 PM   #7
Space Monkey
Registered User
 
Join Date: Feb 2007
Location: Brisvegas/G.C
Posts: 98
Can't believe you have gotten more response than this?

Very nice code, champ. I will be looking into it (and perhaps I cant host it on a site I own? The code that is).
Space Monkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 09:07 PM   #8
Brad Mitchell
Confirmed User
 
Brad Mitchell's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Southfield, MI
Posts: 9,812
Hey that's pretty cool! Send me an email if you are interested in licensing it out.

Cheers,

Brad
__________________
President at MojoHost | brad at mojohost dot com | Skype MojoHostBrad
71 industry awards for hosting and professional excellence since 1999
Brad Mitchell is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 09:37 PM   #9
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by Brad Mitchell View Post
Hey that's pretty cool! Send me an email if you are interested in licensing it out.

Cheers,

Brad
well i always enjoy sharing my ideas so i'll post some dirty code here for your programmers to clean up for free.

If you want something custom i would be happy to create something cool for you for whatever time is costs me.
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 09:53 PM   #10
CaptainHowdy
Too lazy to set a custom title
 
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 93,574
Mad stuff as usual, Smokey!!
CaptainHowdy is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 10:01 PM   #11
TheHatchet
Half man... Half Amazing!
 
Industry Role:
Join Date: Sep 2002
Posts: 13,958
Very Nice!!
TheHatchet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 10:06 PM   #12
The Sultan Of Smut
Confirmed User
 
The Sultan Of Smut's Avatar
 
Join Date: Dec 2004
Location: Vancouver
Posts: 4,325
I'm glad you bumped this thread I almost missed it! Awesome job Smokey!
The Sultan Of Smut is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 10:28 PM   #13
Myst
Confirmed User
 
Join Date: Feb 2004
Location: Alberta, Canada
Posts: 4,707
theres an easier way to do it..
make a .htaccess file and redirect all requests to video files to a php script (sending of course the name of the file requested)

in the php file check to see if the person is 'allowed' to download the file (cookie, referer, ip, whatever) and use readfile() to let the user download the file if its ok; otherwise u can send em to another file, or a website (header(Location:.... ))
__________________
ICQ: 298-523-037
Myst is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-06-2007, 11:54 PM   #14
Brad Mitchell
Confirmed User
 
Brad Mitchell's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Southfield, MI
Posts: 9,812
I wouldn't recommend posting your code here.. Even if it's dirty, it might have some value - your idea is inevidably worth something to multiple parties. We're always looking for neat tools to give to our clients for free. Shit, I spent 5 digits so that we could give MojoHost clients LinkSentinal (antihotlinking protection created by the makers of ProxyPass)... for free.



Brad
__________________
President at MojoHost | brad at mojohost dot com | Skype MojoHostBrad
71 industry awards for hosting and professional excellence since 1999
Brad Mitchell is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 12:05 AM   #15
Myst
Confirmed User
 
Join Date: Feb 2004
Location: Alberta, Canada
Posts: 4,707
Quote:
Originally Posted by Brad Mitchell View Post
I wouldn't recommend posting your code here.. Even if it's dirty, it might have some value - your idea is inevidably worth something to multiple parties. We're always looking for neat tools to give to our clients for free. Shit, I spent 5 digits so that we could give MojoHost clients LinkSentinal (antihotlinking protection created by the makers of ProxyPass)... for free.



Brad
5 digits?
__________________
ICQ: 298-523-037
Myst is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 12:07 AM   #16
Brad Mitchell
Confirmed User
 
Brad Mitchell's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Southfield, MI
Posts: 9,812
Quote:
Originally Posted by Myst View Post
5 digits?
One Two Three Four Five

It's a great product, much more sophisticated than you are anticipating.

Brad
__________________
President at MojoHost | brad at mojohost dot com | Skype MojoHostBrad
71 industry awards for hosting and professional excellence since 1999
Brad Mitchell is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 12:16 AM   #17
BV
wtf
 
BV's Avatar
 
Industry Role:
Join Date: Sep 2001
Location: Bikini State, FL USA
Posts: 10,914
i like to be linkhotted
BV is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 12:37 AM   #18
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by Myst View Post
theres an easier way to do it..
make a .htaccess file and redirect all requests to video files to a php script (sending of course the name of the file requested)

in the php file check to see if the person is 'allowed' to download the file (cookie, referer, ip, whatever) and use readfile() to let the user download the file if its ok; otherwise u can send em to another file, or a website (header(Location:.... ))
thats basically what this does , ceptin your method wouldnt really allow affiliates to hotlink your videos..

I invented this method for sponsors so anyone displaying a banner for the appropriate site can display or even embed the videos..
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 12:38 AM   #19
The Sultan Of Smut
Confirmed User
 
The Sultan Of Smut's Avatar
 
Join Date: Dec 2004
Location: Vancouver
Posts: 4,325
Quote:
Originally Posted by Brad Mitchell View Post
I wouldn't recommend posting your code here.. Even if it's dirty, it might have some value - your idea is inevidably worth something to multiple parties. We're always looking for neat tools to give to our clients for free. Shit, I spent 5 digits so that we could give MojoHost clients LinkSentinal (antihotlinking protection created by the makers of ProxyPass)... for free.



Brad
Booooooooooooooooooo
The Sultan Of Smut is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 03:09 AM   #20
Myst
Confirmed User
 
Join Date: Feb 2004
Location: Alberta, Canada
Posts: 4,707
Quote:
Originally Posted by SmokeyTheBear View Post
thats basically what this does , ceptin your method wouldnt really allow affiliates to hotlink your videos..

I invented this method for sponsors so anyone displaying a banner for the appropriate site can display or even embed the videos..
when the request for the image is called, the ip can be added to the database (or cookie sent, etc); then when the video is called it will see that the ip is allowed to download the file =)
__________________
ICQ: 298-523-037
Myst is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 04:09 AM   #21
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by Myst View Post
when the request for the image is called, the ip can be added to the database (or cookie sent, etc); then when the video is called it will see that the ip is allowed to download the file =)
thats basiclly what im doing in a nutshell..

Not saying its some huge complicated process , but i dont see many people using it.
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 05:49 AM   #22
jmk
Confirmed User
 
Industry Role:
Join Date: Sep 2002
Posts: 5,391
Quote:
Originally Posted by Myst View Post
5 digits?
not that much for a script that might save just one customer 6 digits (over a few months or less)
And yes he might have been able to find it cheaper but still if something works and is top notch ... don't refrain from paying a fair price.

I think it's actually great of him to try to add value to his services
jmk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 07:51 AM   #23
ModelPerfect
Confirmed User
 
Join Date: Nov 2003
Location: USA
Posts: 2,862
Cool idea!
__________________
Logan
modelperfect [at] gmail.com
http://www.modelperfect.com

(Proudly hosted at www.webair.com )
ModelPerfect is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 10:48 AM   #24
Brad Mitchell
Confirmed User
 
Brad Mitchell's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Southfield, MI
Posts: 9,812
Quote:
Originally Posted by jmk View Post
not that much for a script that might save just one customer 6 digits (over a few months or less)
And yes he might have been able to find it cheaper but still if something works and is top notch ... don't refrain from paying a fair price.

I think it's actually great of him to try to add value to his services
Why thank you

Everybody that does MGPs and has video heavy tours could benefit from movie hotlink protection. Saves a ton of headache and bandwidth, we think!

Brad
__________________
President at MojoHost | brad at mojohost dot com | Skype MojoHostBrad
71 industry awards for hosting and professional excellence since 1999
Brad Mitchell is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 12:14 PM   #25
Calvinguy
Confirmed User
 
Join Date: Oct 2002
Location: European Union
Posts: 1,752
I found that solution on google 4 years ago
Calvinguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-07-2007, 01:41 PM   #26
u-Bob
there's no $$$ in porn
 
u-Bob's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
Quote:
Originally Posted by SmokeyTheBear View Post
..., then the folder containing the video is renamed to your ip , and then you are sent there.. although if you gotta shitload of people theres a diff way of doing it ( as the folder might get renamed before the last guy has finished watching
using symlinks instead of renaming would solve that problem...
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-08-2007, 03:23 PM   #27
Snake Doctor
I'm Lenny2 Bitch
 
Snake Doctor's Avatar
 
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
Would something like this work for a guy who just builds movie galleries and gets say 500K unique visitors per day?

If it can handle that kind of load I'm very interested
__________________
sig too big
Snake Doctor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-08-2007, 03:47 PM   #28
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by Lenny2 View Post
Would something like this work for a guy who just builds movie galleries and gets say 500K unique visitors per day?

If it can handle that kind of load I'm very interested
i dont think that should be a problem..

I'll toss the code here sometime today
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-08-2007, 07:10 PM   #29
Brad Mitchell
Confirmed User
 
Brad Mitchell's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Southfield, MI
Posts: 9,812
Quote:
Originally Posted by Lenny2 View Post
Would something like this work for a guy who just builds movie galleries and gets say 500K unique visitors per day?

If it can handle that kind of load I'm very interested
LinkSentinal can certainly handle that load! Or, if you want a host to work with you to put this script into use just give me a call/email/icq

Brad
__________________
President at MojoHost | brad at mojohost dot com | Skype MojoHostBrad
71 industry awards for hosting and professional excellence since 1999
Brad Mitchell is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-08-2007, 08:22 PM   #30
Argoz
Confirmed User
 
Industry Role:
Join Date: Aug 2002
Location: Qc
Posts: 3,006
Cool idea!
Argoz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-08-2007, 09:34 PM   #31
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
Quote:
Originally Posted by Calvinguy View Post
I found that solution on google 4 years ago
are you referring to this? and if so, does this work?:

http://www.safalra.com/programming/p...nt-hotlinking/
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-09-2007, 02:15 AM   #32
DirtyDave
Confirmed User
 
Join Date: Jul 2003
Location: TX
Posts: 198
I would really appreciate getting that script. I was going to send you a message but I can't seem to see a way to contact you.

Thanks.
DirtyDave is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-09-2007, 02:23 AM   #33
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by latinasojourn View Post
are you referring to this? and if so, does this work?:

http://www.safalra.com/programming/p...nt-hotlinking/
dunno but thats kind of what im doing but i think he made it alot more complicated.. dont worry ill post the code here when i have a second to write up how t o use it , tonight or tomorrow
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-09-2007, 12:42 PM   #34
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
http://www.gofuckyourself.com/showthread.php?t=704709
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-09-2007, 12:56 PM   #35
modF
Confirmed User
 
Join Date: Aug 2002
Posts: 1,888
Very nice job Smokey, although I was kinda hoping for a crash at the end of that race... Have I been watching too much youtube?
__________________

I do things
skype:themodF
modF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.