{"id":206,"date":"2007-03-25T16:32:06","date_gmt":"2007-03-25T21:32:06","guid":{"rendered":"http:\/\/teamtutorials.com\/web-hosting-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel"},"modified":"2007-03-25T16:32:06","modified_gmt":"2007-03-25T21:32:06","slug":"stop-bandwidth-thieves-with-hotlink-protection-in-cpanel","status":"publish","type":"post","link":"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel","title":{"rendered":"Stop Bandwidth Thieves with HotLink Protection in cPanel"},"content":{"rendered":"

You spend all this time designing and building a website, only to see that somebody has already copied your information to there site. To make things worse, they use your hosting to display the images (this is known as hot linking). While, I cannot tell you how to stop people from stealing your content, I can show you how to stop people from stealing your bandwidth.<\/p>\n

This tutorial will show you how to setup HotLink protection using CPanel. If you do not have a host that provides CPanel, I highly recommend switching to one that does. Of course, one of my companies, CSSW<\/a> can provide you with cheap cPanel hosting, contact me<\/a> for more details, there are several other options online. With this protection enabled, every time someone tries to HotLink an image from your site, you can have custom image displayed instead. Usually I will use something like, \u201cThis is image belongs to (site), please visit www.yoururl.com to view the original image.\u201d In some cases I have contact the site to remove my content only to have the webmaster reply with a smart response. For those sites I will use something more disturbing, like the gotse image for example. If you don\u2019t now what the goatse man is, you don\u2019t want to. Enough said, on with the tutorial.<\/p>\n

First you will need to log into your CPanel account and click the HotLink Protection icon (pictured below)
\n
Stop Bandwidth Thieves with HotLink Protection in CPanel<\/a><\/p>\n

The hot link protection settings will be displayed.
\n
Stop Bandwidth Thieves with HotLink Protection in CPanel<\/a><\/p>\n

As you can see above, hotlink protection is disabled. First I will upload my HotLink image. I will upload it to another domain, because the image will not be displayed if we leave it on the same server because it is protected by HotLink protection also. I use my other site, csswv.com to host all of my hotlink pictures for my sites. Then I will test to make sure I can view it.
\n
Stop Bandwidth Thieves with HotLink Protection in CPanel<\/a><\/p>\n

I can see my image in the browser, now I need to set the HotLink options. First we need to add the sites that we will allow to hotlink. I left the CPanel defaults (teamtutorials.net is my test domain).
\n
Stop Bandwidth Thieves with HotLink Protection in CPanel<\/a><\/p>\n

Once you have added the sites that you want to allow to hotlink, you will need to type in the url to redirect other sites to. I used the url of my the images I showed you previously. Notice that I also check marked the box that say \u201cAllow direct requests\u201d. I had problems using the full url when using images on my own site, so I leave this option checked and it prevents me getting the hotlink protection on my own site.
\n
Stop Bandwidth Thieves with HotLink Protection in CPanel<\/a><\/p>\n

When you are finished, click the activate button.
\n
Stop Bandwidth Thieves with HotLink Protection in CPanel<\/a><\/p>\n

CPanel will let you know that hotlink protection is active.<\/p>\n

You can now test hotlink protection by using another website (if you don\u2019t have one you can try myspace or some other site tat allows you to add images). Here is the original image that I should be able to view on the test site (teamtutorials.net).
\n
Stop Bandwidth Thieves with HotLink Protection in CPanel<\/a><\/p>\n

Now I will test it by hot linking to the image from another domain (test.csswv.com). Here are the results. (note: If you have a problem that the same image displays on both sites, you may have to clear your browser cache.)
\n
Stop Bandwidth Thieves with HotLink Protection in CPanel<\/a><\/p>\n

It is that simple to protect your bandwidth from being stolen. Somebody could still copy your content and images and upload them to their own server, but at least we have some protection against the lazy thieves. When I enabled HotLink protection on one of my other sites (ProjectCrankwalk)<\/a> I saw a large number of refferals from on the sites that was stealing my images. I belive it is due to the people seeing the hotlink image and then coming to my site to get the original images.<\/p>\n","protected":false},"excerpt":{"rendered":"

This tutorial will show you how to setup hotlink protection using CPanel. With this protection enabled, every time someone tries to HotLink an image from your site, you can have custom image displayed instead. It will help save your bandwidth, and send people back to your site to see the original content.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[18,17],"tags":[],"yoast_head":"\nStop Bandwidth Thieves with HotLink Protection in cPanel<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to setup hotlink protection using CPanel. With this protection enabled, every time someone tries to HotLink an image from your site, you can have custom image displayed instead. It will help save your bandwidth, and send people back to your site to see the original content.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Johnathan Ward\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/teamtutorials.com\/#website\",\"url\":\"https:\/\/teamtutorials.com\/\",\"name\":\"Team Tutorials\",\"description\":\"Learn something new today\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/teamtutorials.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/03\/cpanel-hotlink-protection-1.jpg\",\"contentUrl\":\"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/03\/cpanel-hotlink-protection-1.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel#webpage\",\"url\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel\",\"name\":\"Stop Bandwidth Thieves with HotLink Protection in cPanel\",\"isPartOf\":{\"@id\":\"https:\/\/teamtutorials.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel#primaryimage\"},\"datePublished\":\"2007-03-25T21:32:06+00:00\",\"dateModified\":\"2007-03-25T21:32:06+00:00\",\"author\":{\"@id\":\"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9\"},\"description\":\"This tutorial will show you how to setup hotlink protection using CPanel. With this protection enabled, every time someone tries to HotLink an image from your site, you can have custom image displayed instead. It will help save your bandwidth, and send people back to your site to see the original content.\",\"breadcrumb\":{\"@id\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/teamtutorials.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Stop Bandwidth Thieves with HotLink Protection in cPanel\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9\",\"name\":\"Johnathan Ward\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/teamtutorials.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r\",\"caption\":\"Johnathan Ward\"},\"description\":\"Johnathan Ward is an experienced developer and consultant that writes tutorials to help other developers. In his day job, he is an IBM Watson Consultant with several years of experience deploying and customizing Watson Explorer solutions.\",\"sameAs\":[\"http:\/\/johnathanward.com\",\"https:\/\/twitter.com\/spyderman4g63\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Stop Bandwidth Thieves with HotLink Protection in cPanel","description":"This tutorial will show you how to setup hotlink protection using CPanel. With this protection enabled, every time someone tries to HotLink an image from your site, you can have custom image displayed instead. It will help save your bandwidth, and send people back to your site to see the original content.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel","twitter_misc":{"Written by":"Johnathan Ward","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/teamtutorials.com\/#website","url":"https:\/\/teamtutorials.com\/","name":"Team Tutorials","description":"Learn something new today","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/teamtutorials.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel#primaryimage","inLanguage":"en-US","url":"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/03\/cpanel-hotlink-protection-1.jpg","contentUrl":"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/03\/cpanel-hotlink-protection-1.jpg"},{"@type":"WebPage","@id":"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel#webpage","url":"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel","name":"Stop Bandwidth Thieves with HotLink Protection in cPanel","isPartOf":{"@id":"https:\/\/teamtutorials.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel#primaryimage"},"datePublished":"2007-03-25T21:32:06+00:00","dateModified":"2007-03-25T21:32:06+00:00","author":{"@id":"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9"},"description":"This tutorial will show you how to setup hotlink protection using CPanel. With this protection enabled, every time someone tries to HotLink an image from your site, you can have custom image displayed instead. It will help save your bandwidth, and send people back to your site to see the original content.","breadcrumb":{"@id":"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/teamtutorials.com\/web-development-tutorials\/stop-bandwidth-thieves-with-hotlink-protection-in-cpanel#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/teamtutorials.com\/"},{"@type":"ListItem","position":2,"name":"Stop Bandwidth Thieves with HotLink Protection in cPanel"}]},{"@type":"Person","@id":"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9","name":"Johnathan Ward","image":{"@type":"ImageObject","@id":"https:\/\/teamtutorials.com\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r","caption":"Johnathan Ward"},"description":"Johnathan Ward is an experienced developer and consultant that writes tutorials to help other developers. In his day job, he is an IBM Watson Consultant with several years of experience deploying and customizing Watson Explorer solutions.","sameAs":["http:\/\/johnathanward.com","https:\/\/twitter.com\/spyderman4g63"]}]}},"_links":{"self":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts\/206"}],"collection":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/comments?post=206"}],"version-history":[{"count":0,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts\/206\/revisions"}],"wp:attachment":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/media?parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/categories?post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/tags?post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}