Answered by the Webhosting Experts
Tags +

Linux
Managed Services

Just Leave Linux to Us
Is maintaining your Linux server keeping your team bogged down? Alleviate unnecessary stress with one of Hivelocity’s Linux Managed Services plans. With reboots, monitoring, updates, and more, your team can rest easy knowing your hardware and OS are in the hands of hosting experts.

Configure your server today and see the benefits a Hivelocity managed Linux solution can offer you!

Tags +
Tags
...
...
160x600_hivelocity_dec20

Prevent hotlinking

Others can link to images on your site to use them on their own web site, forums and elsewhere.
This is of no benefit to you and can increase the bandwidth usage for your hosting account quite a bit.

1. Activate Protection

To prevent people from hotlinking to your files (say image files), all you need t do is add the following lines to your .htaccess file

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^https://(www\.)?your_domain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ – [F]

You can also protect files such as .mp3,.mpg,.ogg.The changes in this .htaccess file are on the last line. Enter the file extensions in the

brackets, do not include the dot (.). Separated them with a pipe (|).

You can friendly sites to link your images by adding a line such as
RewriteCond %{HTTP_REFERER} !^https://(www\.)?google.com/.*$ [NC]

Share

Facebook
Twitter
LinkedIn
Email
WhatsApp

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.

Watch our servers in their natural habitat

Click here to see more live streams or take a tour of our facilities.

Linux
Managed Services

Just Leave Linux to Us
Is maintaining your Linux server keeping your team bogged down? Alleviate unnecessary stress with one of Hivelocity’s Linux Managed Services plans. With reboots, monitoring, updates, and more, your team can rest easy knowing your hardware and OS are in the hands of hosting experts.

Configure your server today and see the benefits a Hivelocity managed Linux solution can offer you!