Author Topic: Hot link protection ??  (Read 5555 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hot link protection ??
« on: August 09, 2019, 09:01:41 PM »
" Hotlink protection prevents other websites from directly linking to files (as specified below) on your website. Other sites will still be able to link to any file type that you donít specify below (ie. html files). An example of hotlinking would be using a <img> tag to display an image from your site from somewhere else on the net. "

- is this feature available in CWP?
- if not any possible way to implement in the server.


Thanks.

Offline
*****
Re: Hot link protection ??
« Reply #1 on: August 23, 2019, 08:08:25 AM »
Hi, you can use .htaccess for that. Just copy the rules from CPanel or other server ;)
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Hot link protection ??
« Reply #2 on: August 26, 2019, 11:59:17 AM »
Hi, you can use .htaccess for that. Just copy the rules from CPanel or other server ;)
Any working example please?

Offline
****
Re: Hot link protection ??
« Reply #3 on: August 26, 2019, 11:12:48 PM »
Hi, you can use .htaccess for that. Just copy the rules from CPanel or other server ;)

You get a blue ribbon for useless answers Igor.

Offline
*****
Re: Hot link protection ??
« Reply #4 on: August 29, 2019, 11:51:25 AM »
You too,  pixelpadre ;)
Any example must be checked at the website. There a lot of options.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
****
Re: Hot link protection ??
« Reply #5 on: August 29, 2019, 06:27:58 PM »
You too,  pixelpadre ;)
Any example must be checked at the website. There a lot of options.

You know....I did an advanced searched

Keyword=support
user=Igor S.

Result=30 posts where you told people to contact support. 

We sure are glad that you are here to help us.

Offline
**
Re: Hot link protection ??
« Reply #6 on: September 03, 2019, 11:18:06 AM »
all in all, in Igor behalf, maybe not so much in teh forums has there been his support anymore..
He (and Sandeep) have been TOP NOTCH when you do Contact them/get them, with a support ticket.

There may be otehr reasons why teh "admins" dont/have time to react in the forums, as it is.. i'd personally
rather have them working ON cwp than ansering "Forum Questions" like useless ones asking how to "hot link protect"..

really?  there is a search engine called.. umm, "Google">  smh.

https://www.htaccessredirect.net/

pretty easy to search for..

a 'useless' question, when all you needed to do was "google" it..

Cheers.
X


Offline
****
Re: Hot link protection ??
« Reply #7 on: September 05, 2019, 01:07:06 PM »
Google isnt the answer.

This is CWP and what applies to centos distros doesnt necessarily apply to CWP.  If we did what normal centos LAMP users did then CWP would crash and be totally useless.  So when someone asks a question, keep in mind that what they are really asking is will this work with my CWP app.

Offline
*****
Re: Hot link protection ??
« Reply #8 on: September 17, 2019, 08:29:41 AM »
Google isnt the answer.

This is CWP and what applies to centos distros doesnt necessarily apply to CWP.  If we did what normal centos LAMP users did then CWP would crash and be totally useless.  So when someone asks a question, keep in mind that what they are really asking is will this work with my CWP app.

You are mistaken, sorry.
CWP used Apache and nginx and you can use any options they have. Some cases cannot be fixed "by photo" we are not guessers ;)
"To Google" is the answer if the question "how to do the best right now with the one CWP button".

And course, I said use support if I think the case should be checked with the root access.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Hot link protection ??
« Reply #9 on: October 03, 2019, 09:08:41 AM »
i have test this in apache .htaccess
Code: [Select]
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://example.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.example.com.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.example.com/stophotlinking.jpg [R,NC]
and it dont work

i have test this in nginx /etc/nginx/conf.d/vhosts/www.example.com.conf
Code: [Select]
location ~ \.(jpe?g|png|gif)$ {
     valid_referers none blocked example.com *.example.com;
     if ($invalid_referer) {
        return   403;
    }
}
and it dont work
Can some one test this also so its just not me that it fails for

Offline
*
Re: Hot link protection ??
« Reply #10 on: October 06, 2019, 08:38:10 PM »
My site crashed got no access just a blank screen on cwp7

Offline
*
Re: Hot link protection ??
« Reply #11 on: October 06, 2019, 08:39:55 PM »
My site crashed got no access just a blank screen on cwp7

Oh it just come back dont know how or what.

Offline
*
Re: Hot link protection ??
« Reply #12 on: October 07, 2019, 08:50:22 AM »
Now i have just test webserver settings just apache and then htaccess work for hotlink but when i run Nginx & Varnish & Apache  so do nothing work

The team would embed hotlink protection to cwp that had been great
« Last Edit: October 07, 2019, 08:52:58 AM by Anders »

Offline
*
Re: Hot link protection ??
« Reply #13 on: October 08, 2019, 09:18:55 AM »
must say this forum must have the best support ever....seems like a graveyard here