XFileSharing Pro - How to block website content thieves, proxy services
How to block website content thieves, proxy services
How to block website content thieves, proxy services, and exploited servers, and bandwidth any one know how please help, my server running very high Bandwidth right now . Thank you for all
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
you can use a firewall ?
you can also use htacces to block direct acces to images ( cpanel does that )
the problem with blocking is that it need to be specific and is mostly defined by 1 thing at the time
so if you want to block all proxy's , you could add a code in htacces to block acces if the refferal contains a proxy
here is a example code that i founded on the net
but i can not confirm if this code works
from the page i got it does it seems that it worked for 5 min and then not anymore
Greetings From PowerChaos
you can also use htacces to block direct acces to images ( cpanel does that )
the problem with blocking is that it need to be specific and is mostly defined by 1 thing at the time
so if you want to block all proxy's , you could add a code in htacces to block acces if the refferal contains a proxy
here is a example code that i founded on the net
Code: Select all
RewriteEngine on
RewriteCond %{HTTP:VIA} !^$ [OR]
RewriteCond %{HTTP:FORWARDED} !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$
RewriteRule ^(.*)$ - [F]
from the page i got it does it seems that it worked for 5 min and then not anymore
Greetings From PowerChaos
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
blockscript is a php file , xfilesharing is a cgi file
to get blockscript to work you need to include the php file
the script itself does the same as the htacces only it use php methode to do that , atleast the version i have
it checks the refferal for reply , if it opens a website then it blocks ( as it is probaly a proxy ) , if it is not a website then it shows the site
but i wish you good luck with trying to intregrate that script then in a cgi script
Greetings from PowerChaos
to get blockscript to work you need to include the php file
the script itself does the same as the htacces only it use php methode to do that , atleast the version i have
it checks the refferal for reply , if it opens a website then it blocks ( as it is probaly a proxy ) , if it is not a website then it shows the site
but i wish you good luck with trying to intregrate that script then in a cgi script
Greetings from PowerChaos