RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

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

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
geekev69



Joined: 05 Dec 2009
Posts: 45

PostPosted: Nov 29, 2010 6:22 pm    Post subject: how to block people steal my video player and waste my band? Reply with quote

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.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
komi



Joined: 27 Nov 2009
Posts: 159

PostPosted: Nov 29, 2010 9:48 pm    Post subject: Reply with quote

Add following code to your main .htaccess file:
Code:
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.
Back to top
View user's profile Send private message
geekev69



Joined: 05 Dec 2009
Posts: 45

PostPosted: Nov 29, 2010 10:20 pm    Post subject: oh Reply with quote

thanks for the info!
what does it do BTW?


can I put FLV file type as well?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
komi



Joined: 27 Nov 2009
Posts: 159

PostPosted: Nov 29, 2010 10:34 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
geekev69



Joined: 05 Dec 2009
Posts: 45

PostPosted: Nov 30, 2010 8:29 am    Post subject: oh Reply with quote

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 Very Happy
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
ankurs



Joined: 10 Mar 2009
Posts: 605

PostPosted: Nov 30, 2010 9:26 am    Post subject: Re: oh Reply with quote

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
Back to top
View user's profile Send private message
geekev69



Joined: 05 Dec 2009
Posts: 45

PostPosted: Nov 30, 2010 11:11 am    Post subject: oh Reply with quote

you mean what komi said will not work?
the .htaccess? should I do something else more? hotlinking?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
ankurs



Joined: 10 Mar 2009
Posts: 605

PostPosted: Nov 30, 2010 12:01 pm    Post subject: Re: oh Reply with quote

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
Back to top
View user's profile Send private message
geekev69



Joined: 05 Dec 2009
Posts: 45

PostPosted: Nov 30, 2010 8:58 pm    Post subject: oh Reply with quote

how do I disable hotlinking??
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
komi



Joined: 27 Nov 2009
Posts: 159

PostPosted: Nov 30, 2010 9:16 pm    Post subject: Re: oh Reply with quote

geekev69 wrote:
how do I disable hotlinking??
Use the code I gave you and add the cronjob as I told you earlier today.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group