{"id":11280,"date":"2024-07-22T08:05:00","date_gmt":"2024-07-22T08:05:00","guid":{"rendered":"https:\/\/astrihost.com\/knowledgebase\/?post_type=web-hosting&#038;p=11280"},"modified":"2024-09-06T17:08:40","modified_gmt":"2024-09-06T17:08:40","slug":"how-to-protect-your-websites-images","status":"publish","type":"web-hosting","link":"https:\/\/astrihost.com\/knowledgebase\/web-hosting\/how-to-protect-your-websites-images\/","title":{"rendered":"How to protect your website&#8217;s images?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">External websites can use the <strong>&lt; IMG \/&gt;<\/strong> tag to display images from your website elsewhere on the Internet. As a result, other websites will steal your bandwidth.<br><br><br>To secure your images, log into your cPanel account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Scroll to the <strong>Security<\/strong>&nbsp;section, and click on the&nbsp;<strong>HotLink Protection<\/strong>&nbsp;Icon.<br>&nbsp;<br><br><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/my.astrihost.com\/images\/kb\/381_How-to-protect-your-websites-images-1.png\" alt=\"\" width=\"1200\" height=\"345\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If \u201c<strong>Hotlink protection is currently disabled\u201d <\/strong>is displayed, click on the<strong> Enable button. <\/strong>NB. Configure your<strong> HotLink Protection <\/strong>before Enabling.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>How to Configure Hotlink Protection?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Under the \u201c<strong>URL to allow access<\/strong>:\u201d section,<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You can allow access to external websites or your own website\/s. For example, if you have a subdomain like demo.example.com, you can add the URL of that website to your allowed websites list.<\/li>\n\n\n\n<li>Add the <strong>file extensions<\/strong> you want to block from <strong>Direct Access<\/strong>.<\/li>\n\n\n\n<li>Tick this block to allow Direct Requests. We don\u2019t recommend allowing direct requests. Open a ticket for assistance on this.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/my.astrihost.com\/images\/kb\/382_How-to-protect-your-websites-images-2.png\" alt=\"\" width=\"1200\" height=\"663\"><br><br><br>After clicking the Enable button you will receive confirmation that it is enabled.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/my.astrihost.com\/images\/kb\/383_How-to-protect-your-websites-images-3.png\" alt=\"\"\/><\/figure>\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":""},"class_list":["post-11280","web-hosting","type-web-hosting","status-publish","hentry"],"acf":[],"taxonomy_info":[],"featured_image_src_large":false,"author_info":[],"comment_info":"","_links":{"self":[{"href":"https:\/\/astrihost.com\/knowledgebase\/wp-json\/wp\/v2\/web-hosting\/11280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/astrihost.com\/knowledgebase\/wp-json\/wp\/v2\/web-hosting"}],"about":[{"href":"https:\/\/astrihost.com\/knowledgebase\/wp-json\/wp\/v2\/types\/web-hosting"}],"wp:attachment":[{"href":"https:\/\/astrihost.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=11280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}