{"id":344,"date":"2023-02-27T09:03:43","date_gmt":"2023-02-27T09:03:43","guid":{"rendered":"https:\/\/blog.trustedhosting.in\/?p=344"},"modified":"2023-02-27T09:03:43","modified_gmt":"2023-02-27T09:03:43","slug":"hotlink-protection-cpanel","status":"publish","type":"post","link":"https:\/\/www.webystrata.com\/blog\/hotlink-protection-cpanel\/","title":{"rendered":"Hotlink Protection &#8211; cPanel"},"content":{"rendered":"<p style=\"box-sizing: border-box; margin: 0.5em 0em 0.6em; font-size: 16px; text-align: justify; padding: 0px; line-height: 1.6; font-family: Nunito, sans-serif;\">Hotlink Protection prevents other websites to directly load data from your website. For example, when somebody links an Image on your website to load up on his website, when a visitor visits the other website, the image is loaded form your website consuming your bandwidth. Hotlink protection enables prevention against this. If Hotlink Protection is Enabled, other websites will not be able to directly link to any file on your website.<\/p>\n<p style=\"box-sizing: border-box; margin: 0.5em 0em 0.6em; font-size: 16px; text-align: justify; padding: 0px; line-height: 1.6; font-family: Nunito, sans-serif;\">To use this feature, follow these steps \u2212<\/p>\n<p style=\"box-sizing: border-box; margin: 0.5em 0em 0.6em; font-size: 16px; text-align: justify; padding: 0px; line-height: 1.6; font-family: Nunito, sans-serif;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">Step 1<\/span>\u00a0\u2212 Open cPanel Hotlink Protection by clicking on Hotlink Protection found under Security section of cPanel home.<\/p>\n<p><img decoding=\"async\" style=\"box-sizing: border-box; vertical-align: middle; max-width: 100%; height: 458px; display: block; clear: both; border-width: 0px; border-color: initial; border-image: initial; color: #747579; font-family: Nunito, sans-serif; font-size: 15px; margin: 0px auto 0px auto;\" src=\"http:\/\/manage.trustedhosting.in\/index.php?rp=\/images\/kb\/133_hp-1.png\" alt=\"Hotlink\" width=\"1000\" \/><\/p>\n<p style=\"box-sizing: border-box; margin: 0.5em 0em 0.6em; font-size: 16px; text-align: justify; padding: 0px; line-height: 1.6; font-family: Nunito, sans-serif;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">Step 2<\/span>\u00a0\u2212 Click on Enable button on Hotlink Protection Interface to enable Hotlink Protection.<\/p>\n<p><img decoding=\"async\" style=\"box-sizing: border-box; vertical-align: middle; max-width: 100%; height: 225px; display: block; clear: both; border-width: 0px; border-color: initial; border-image: initial; color: #747579; font-family: Nunito, sans-serif; font-size: 15px; margin: 0px auto 0px auto;\" src=\"http:\/\/manage.trustedhosting.in\/index.php?rp=\/images\/kb\/135_hp-2.png\" alt=\"Hotlink Protection\" width=\"1000\" \/><\/p>\n<h2 style=\"box-sizing: border-box; margin: 1.25rem 0px 0.225rem; font-family: Heebo, sans-serif; font-weight: 500; line-height: 1.25; font-size: 23px; padding: 0rem;\">Configure Hotlink Protection<\/h2>\n<p style=\"box-sizing: border-box; margin: 0.5em 0em 0.6em; font-size: 16px; text-align: justify; padding: 0px; line-height: 1.6; font-family: Nunito, sans-serif;\">You can configure Hotlink Protection to give access to those URLs, which you want, those URLs can link to your files directly. Additionally, you can provide the extensions of those files, which you want to protect via Hotlink Protection.<\/p>\n<p style=\"box-sizing: border-box; margin: 0.5em 0em 0.6em; font-size: 16px; text-align: justify; padding: 0px; line-height: 1.6; font-family: Nunito, sans-serif;\">To configure Hotlink Protection, scroll down to Configure Hotlink Protection on Hotlink Protection Interface.<\/p>\n<p style=\"box-sizing: border-box; margin: 0.5em 0em 0.6em; font-size: 16px; text-align: justify; padding: 0px; line-height: 1.6; font-family: Nunito, sans-serif;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">URLs to allow access<\/span>\u00a0\u2212 Enter those URLs here, whom you want to grant permission to directly access your website\u2019s files.<\/p>\n<p style=\"box-sizing: border-box; margin: 0.5em 0em 0.6em; font-size: 16px; text-align: justify; padding: 0px; line-height: 1.6; font-family: Nunito, sans-serif;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">Block direct access for the following extensions (comma\u2013separated)<\/span>\u00a0\u2212 Enter those file extensions here, which will not be able to be linked by other website. For E.g. MP4, JPG, and PNG etc.<\/p>\n<p style=\"box-sizing: border-box; margin: 0.5em 0em 0.6em; font-size: 16px; text-align: justify; padding: 0px; line-height: 1.6; font-family: Nunito, sans-serif;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">Allow Direct Requests<\/span>\u00a0\u2212 This will allow the user to access your files directly by providing full URL of your file. For example, when a visitor will enter the full URL of a PDF file, the file can be viewed in a browser. It is recommended that you select this checkbox.<\/p>\n<p style=\"box-sizing: border-box; margin: 0.5em 0em 0.6em; font-size: 16px; text-align: justify; padding: 0px; line-height: 1.6; font-family: Nunito, sans-serif;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">Redirect the request to the following URL<\/span>\u00a0\u2212 If a website tries to link to a file directly from your website, the system will redirect that URL to the one provided in this field.<\/p>\n<p><img decoding=\"async\" style=\"box-sizing: border-box; vertical-align: middle; max-width: 100%; height: 696px; display: block; clear: both; border-width: 0px; border-color: initial; border-image: initial; color: #747579; font-family: Nunito, sans-serif; font-size: 15px; margin: 0px auto 0px auto;\" src=\"http:\/\/manage.trustedhosting.in\/index.php?rp=\/images\/kb\/136_hp-3-th.png\" alt=\"Configure Hotlink\" width=\"1000\" \/><\/p>\n<p style=\"box-sizing: border-box; margin: 0.5em 0em 0.6em; font-size: 16px; text-align: justify; padding: 0px; line-height: 1.6; font-family: Nunito, sans-serif;\">Click Submit to update the changes you made.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hotlink Protection prevents other websites to directly load data from your website. For example, when somebody links an Image on&hellip;<\/p>\n","protected":false},"author":1,"featured_media":345,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[12],"class_list":["post-344","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel-complete-tutorials","tag-cpanel-complete-tutorials"],"_links":{"self":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/comments?post=344"}],"version-history":[{"count":1,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/344\/revisions"}],"predecessor-version":[{"id":347,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/posts\/344\/revisions\/347"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/media\/345"}],"wp:attachment":[{"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/media?parent=344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/categories?post=344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webystrata.com\/blog\/wp-json\/wp\/v2\/tags?post=344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}