XFileSharing Pro - how to block people steal my video player and waste my band?

Message
Author
geekev69
Posts: 45
Joined: Dec 05, 2009 6:12 am

how to block people steal my video player and waste my band?

#1 Postby geekev69 » Nov 29, 2010 6:22 pm

hi guys,

I need your help.
Is there anyway to block people to take my JW player away and put everywhere?

I do not provide video embed option but people just easily manage to do it and hence it causes huge bandwidth waste.

Please help me.

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#2 Postby komi » Nov 29, 2010 9:48 pm

Add following code to your main .htaccess file:

Code: Select all

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC]
RewriteRule \.(jpg|jpeg|png|gif|swf)$ - [NC,F,L]

You might add other extentions as well if you want to.

geekev69
Posts: 45
Joined: Dec 05, 2009 6:12 am

oh

#3 Postby geekev69 » Nov 29, 2010 10:20 pm

thanks for the info!
what does it do BTW?


can I put FLV file type as well?

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#4 Postby komi » Nov 29, 2010 10:34 pm

It checks from what website a file is loaded using the referrer function. You can put any extension you want. Just make sure you replace "yourdomain.com" with your own domain.

geekev69
Posts: 45
Joined: Dec 05, 2009 6:12 am

oh

#5 Postby geekev69 » Nov 30, 2010 8:29 am

that is really cool!

I think this is the one I was looking for!
BTW can we go further?
Is it possible to implement the function that
video player(JW player) will show the screen "please come to mydomain.com and watch this video" so people click the screen and
automatically move to that file page and watch video?


btw komi, can we talk on messenger?
I also got other things to discuss and not gonna ask you for free :D

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

Re: oh

#6 Postby ankurs » Nov 30, 2010 9:26 am

geekev69 wrote:Is it possible to implement the function that
video player(JW player) will show the screen "please come to mydomain.com and watch this video" so people click the screen and
automatically move to that file page and watch video?


it seems you are using Allow All ip settings & hence ppl can easily create links from your file servers and make it working even with their own player; so what you are asking for wont work unless you can stop hotlinking on your file servers

geekev69
Posts: 45
Joined: Dec 05, 2009 6:12 am

oh

#7 Postby geekev69 » Nov 30, 2010 11:11 am

you mean what komi said will not work?
the .htaccess? should I do something else more? hotlinking?

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

Re: oh

#8 Postby ankurs » Nov 30, 2010 12:01 pm

geekev69 wrote:you mean what komi said will not work?
the .htaccess? should I do something else more? hotlinking?

wat komi said will just stop ppl from using your jwplayer

http://lmgtfy.com/?q=hotlinking

geekev69
Posts: 45
Joined: Dec 05, 2009 6:12 am

oh

#9 Postby geekev69 » Nov 30, 2010 8:58 pm

how do I disable hotlinking??

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

Re: oh

#10 Postby komi » Nov 30, 2010 9:16 pm

geekev69 wrote:how do I disable hotlinking??
Use the code I gave you and add the cronjob as I told you earlier today.


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests