| View previous topic :: View next topic |
| Author |
Message |
geekev69
Joined: 05 Dec 2009 Posts: 45
|
Posted: Nov 29, 2010 6:22 pm Post subject: how to block people steal my video player and waste my band? |
|
|
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 |
|
 |
komi
Joined: 27 Nov 2009 Posts: 159
|
Posted: Nov 29, 2010 9:48 pm Post subject: |
|
|
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 |
|
 |
geekev69
Joined: 05 Dec 2009 Posts: 45
|
Posted: Nov 29, 2010 10:20 pm Post subject: oh |
|
|
thanks for the info!
what does it do BTW?
can I put FLV file type as well? |
|
| Back to top |
|
 |
komi
Joined: 27 Nov 2009 Posts: 159
|
Posted: Nov 29, 2010 10:34 pm Post subject: |
|
|
| 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 |
|
 |
geekev69
Joined: 05 Dec 2009 Posts: 45
|
Posted: Nov 30, 2010 8:29 am Post subject: oh |
|
|
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  |
|
| Back to top |
|
 |
ankurs
Joined: 10 Mar 2009 Posts: 605
|
Posted: Nov 30, 2010 9:26 am Post subject: Re: oh |
|
|
| 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 |
|
 |
geekev69
Joined: 05 Dec 2009 Posts: 45
|
Posted: Nov 30, 2010 11:11 am Post subject: oh |
|
|
you mean what komi said will not work?
the .htaccess? should I do something else more? hotlinking? |
|
| Back to top |
|
 |
ankurs
Joined: 10 Mar 2009 Posts: 605
|
Posted: Nov 30, 2010 12:01 pm Post subject: Re: oh |
|
|
| 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 |
|
 |
geekev69
Joined: 05 Dec 2009 Posts: 45
|
Posted: Nov 30, 2010 8:58 pm Post subject: oh |
|
|
| how do I disable hotlinking?? |
|
| Back to top |
|
 |
komi
Joined: 27 Nov 2009 Posts: 159
|
Posted: Nov 30, 2010 9:16 pm Post subject: Re: oh |
|
|
| 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 |
|
 |
|