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 08-07-2009, 09:03 AM   #1
Phil
Confirmed User
 
Phil's Avatar
 
Join Date: Jan 2004
Posts: 7,659
is there way to protect flv videos from hotlinking?

Anything out there that works against Turks and Chinese guys hotlinking your flv files?
__________________
Ask Phil
Phil is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2009, 10:59 AM   #2
madm1k3
Confirmed User
 
Join Date: Jul 2005
Posts: 472
bump, i'm interested too.
__________________
Always looking for trades on Linkspun! Check my Id here
madm1k3 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2009, 11:00 AM   #3
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,364
http://trafficguardian.com/
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2009, 09:10 PM   #4
Phil
Confirmed User
 
Phil's Avatar
 
Join Date: Jan 2004
Posts: 7,659
does it work for flash files? looks like htaccess thing. I can do that myself.
__________________
Ask Phil
Phil is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2009, 09:22 PM   #5
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
i have a simple method that will also generate revenue without having to alter existing links/code much.

Most flv players will also play playlists even if the extension is flv. using playlists you can insert ads or promo clips after or before the video.

example

lets say your flvs are in http://mysite.com/videos/sample1.flv

and your embed code is like http://mysite.com/myplayer.swf?file=...os/sample1.flv

first change the flv folder to "secret"

then remake the flv folder and drop in this htaccess
Code:
RewriteEngine on

 RewriteRule ^(.*)\.flv index.php?x=$1 [nc]
then make an index.php and place the following inside it ( dynamic playlist creator )

Code:
<?php

header('Cache-Control: no-cache, must-revalidate');

header('Content-type: video/x-ms-asf');

$x = $_GET['x'];


?>

<asx version="3.0">

	<title>title</title>



	<entry>

		<title>title</title>



		<author>SmokeyTheBear</author>

		<abstract>Hello World</abstract>

		<moreinfo href="http://sponsorlink.com" />

		<ref href="http://mysite.com/secret/<?php echo $x; ?>.flv" />

    

	</entry>



	<entry>

		<title>an ad after the video</title>



		<author>SmokeyTheBear</author>

		<abstract>Hello World</abstract>

		<moreinfo href="http://sponsorlink.com" />

		<ref href="http://mysite.com/promoclip.flv" />

    

	</entry>



</asx>
so now when they hotlink your flv they will be hotlinking your playlist with ad and promoclip

now lets say they are smart and read the playlist to find the secret flv folder, no problem , just rename the master flv folder and change the path in the index.php in one simple place every so often and they will be thwarted.
__________________
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 08-07-2009, 09:32 PM   #6
munki
Do Fun Shit.
 
munki's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: OC
Posts: 13,393
Quote:
Originally Posted by SmokeyTheBear View Post
i have a simple method that will also generate revenue without having to alter existing links/code much.

Most flv players will also play playlists even if the extension is flv. using playlists you can insert ads or promo clips after or before the video.

example

lets say your flvs are in http://mysite.com/videos/sample1.flv

and your embed code is like http://mysite.com/myplayer.swf?file=...os/sample1.flv

first change the flv folder to "secret"

then remake the flv folder and drop in this htaccess
Code:
RewriteEngine on

 RewriteRule ^(.*)\.flv index.php?x=$1 [nc]
then make an index.php and place the following inside it ( dynamic playlist creator )

Code:
<?php

header('Cache-Control: no-cache, must-revalidate');

header('Content-type: video/x-ms-asf');

$x = $_GET['x'];


?>

<asx version="3.0">

	<title>title</title>



	<entry>

		<title>title</title>



		<author>SmokeyTheBear</author>

		<abstract>Hello World</abstract>

		<moreinfo href="http://sponsorlink.com" />

		<ref href="http://mysite.com/secret/<?php echo $x; ?>.flv" />

    

	</entry>



	<entry>

		<title>an ad after the video</title>



		<author>SmokeyTheBear</author>

		<abstract>Hello World</abstract>

		<moreinfo href="http://sponsorlink.com" />

		<ref href="http://mysite.com/promoclip.flv" />

    

	</entry>



</asx>
so now when they hotlink your flv they will be hotlinking your playlist with ad and promoclip

now lets say they are smart and read the playlist to find the secret flv folder, no problem , just rename the master flv folder and change the path in the index.php in one simple place every so often and they will be thwarted.
thexiness
__________________

I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde
munki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2009, 10:48 PM   #7
d-null
. . .
 
d-null's Avatar
 
Industry Role:
Join Date: Apr 2007
Location: NY
Posts: 13,724
nice technique and very well explained Smokey
__________________

__________________

Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
Check out the #1 WordPress SEO Plugin: CyberSEO Suite
d-null is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2009, 11:56 PM   #8
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
what i do is go one step further and instead of using the flv url in the embed code you just use a simple dynamic swf url

so instead of adding all your params to the swf flv player in the embed code like logo=&link=&file=

you just use <embed src=http://mysite.com/swf/1789234.swf>

the swf folder uses htacces to run thru a php script the php script checks referrer and only makes the asx file if the swf is hotlinked ( so you can display different/more/less ads when they are on your site compared to when someone hotlinks or uses the embed code ) , plus you can have super short embed codes instead of long ones
__________________
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 08-08-2009, 12:49 AM   #9
st0ned
Confirmed User
 
st0ned's Avatar
 
Industry Role:
Join Date: Mar 2007
Location: Arizona
Posts: 8,437
Great information Smokey. Thanks for sharing!
__________________
Conversion Sharks - 1,000+ adult dating offers, traffic management, and consistently high payouts.
We will guarantee and beat your current EPC to win your dating traffic!
Skype: ConversionSharks || Email: info /@/ conversionsharks.com
st0ned is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2009, 01:07 AM   #10
quantum-x
Confirmed User
 
quantum-x's Avatar
 
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
Or, use a combination of ModSecURL + referrer blocking.

#1 - ModSecURL creates rolling URLS that change every X minutes. Even if people spread your links, the links die after X minutes.

#2 - All flash players (ALL) send referrer information. You can simply use .htaccess to whitelist certain domains / urls.
quantum-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2009, 01:48 AM   #11
Davy
Confirmed User
 
Davy's Avatar
 
Industry Role:
Join Date: Apr 2006
Location: Germany
Posts: 4,323
Google gives no results for modsecurl.
What's the real name for this extension?
__________________
---
ICQ 14-76-98 <-- I don't use this at all
Davy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2009, 02:25 AM   #12
quantum-x
Confirmed User
 
quantum-x's Avatar
 
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
Sorry, mod_sec I believe
quantum-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2009, 04:51 AM   #13
seeandsee
Check SIG!
 
seeandsee's Avatar
 
Industry Role:
Join Date: Mar 2006
Location: Europe (Skype: gojkoas)
Posts: 50,945
we need security expert to make something
__________________
BUY MY SIG - 50$/Year

Contact here
seeandsee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2009, 07:04 AM   #14
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,364
Quote:
Originally Posted by CAMOKAT View Post
does it work for flash files? looks like htaccess thing. I can do that myself.
its an apache module, dosnt work the same as htaccess
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris 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.