<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.lhycloud.com/index.php?action=history&amp;feed=atom&amp;title=Enable-hotlink-protection</id>
	<title>Enable-hotlink-protection - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.lhycloud.com/index.php?action=history&amp;feed=atom&amp;title=Enable-hotlink-protection"/>
	<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Enable-hotlink-protection&amp;action=history"/>
	<updated>2026-10-28T09:41:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Enable-hotlink-protection&amp;diff=599&amp;oldid=prev</id>
		<title>Shubh: Created page with &quot;&lt;big&gt;Hotlink protection in &#039;&#039;&#039;cPanel&#039;&#039;&#039; is a feature that prevents other websites from directly linking to files (like images, videos, or documents) hosted on your server. Without it, someone could embed your images or videos on their site and use your bandwidth without permission.&lt;/big&gt;   &lt;big&gt;Hotlink protection is usually done through &#039;&#039;&#039;.htaccess rules&#039;&#039;&#039; on Apache or &#039;&#039;&#039;Nginx configuration&#039;&#039;&#039;.&lt;/big&gt;  &lt;big&gt;When a request comes for a file (say &lt;code&gt;logo.png&lt;/code&gt;), t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Enable-hotlink-protection&amp;diff=599&amp;oldid=prev"/>
		<updated>2025-09-03T05:47:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;big&amp;gt;Hotlink protection in &amp;#039;&amp;#039;&amp;#039;cPanel&amp;#039;&amp;#039;&amp;#039; is a feature that prevents other websites from directly linking to files (like images, videos, or documents) hosted on your server. Without it, someone could embed your images or videos on their site and use your bandwidth without permission.&amp;lt;/big&amp;gt;   &amp;lt;big&amp;gt;Hotlink protection is usually done through &amp;#039;&amp;#039;&amp;#039;.htaccess rules&amp;#039;&amp;#039;&amp;#039; on Apache or &amp;#039;&amp;#039;&amp;#039;Nginx configuration&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/big&amp;gt;  &amp;lt;big&amp;gt;When a request comes for a file (say &amp;lt;code&amp;gt;logo.png&amp;lt;/code&amp;gt;), t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;big&amp;gt;Hotlink protection in &amp;#039;&amp;#039;&amp;#039;cPanel&amp;#039;&amp;#039;&amp;#039; is a feature that prevents other websites from directly linking to files (like images, videos, or documents) hosted on your server. Without it, someone could embed your images or videos on their site and use your bandwidth without permission.&amp;lt;/big&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Hotlink protection is usually done through &amp;#039;&amp;#039;&amp;#039;.htaccess rules&amp;#039;&amp;#039;&amp;#039; on Apache or &amp;#039;&amp;#039;&amp;#039;Nginx configuration&amp;#039;&amp;#039;&amp;#039;.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;When a request comes for a file (say &amp;lt;code&amp;gt;logo.png&amp;lt;/code&amp;gt;), the server checks the &amp;#039;&amp;#039;&amp;#039;HTTP referrer&amp;#039;&amp;#039;&amp;#039; (the site the request came from).&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;big&amp;gt;If the referrer matches your allowed list (like your domain), the file loads.&amp;lt;/big&amp;gt;&lt;br /&gt;
* &amp;lt;big&amp;gt;If not, the request is blocked or redirected.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to enable Hotlink Protection: ===&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;step-1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Log in to cPanel.&amp;lt;/big&amp;gt;&lt;br /&gt;
[[File:Cp1.webp|center|thumb|406x406px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;step-2&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Look for the Security section, then click Hotlink Protection&amp;lt;/big&amp;gt;.&lt;br /&gt;
[[File:Hl1.png|center|thumb|820x820px]]&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;step-3&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Make sure the domain name you wish to protect is in the box called URLs to allow access.&amp;lt;/big&amp;gt;&lt;br /&gt;
[[File:Hl2.png|center|thumb|517x517px]]&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;step-4&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;If you&amp;#039;re satisfied with the URLs and current settings, click the Enable button.&amp;lt;/big&amp;gt;&lt;br /&gt;
[[File:Hl3.png|center|thumb|670x670px]]&lt;br /&gt;
&lt;br /&gt;
=== If you also want to disable Hotlink protection, follow these steps: ===&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;step-1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;On the Hotlink Protection page, click Disable.&amp;lt;/big&amp;gt;&lt;br /&gt;
[[File:Hl4.png|center|thumb|511x511px]]&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;step-2&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;A confirmation page will be displayed.&amp;lt;/big&amp;gt;&lt;br /&gt;
[[File:H5.png|center|thumb]]&lt;/div&gt;</summary>
		<author><name>Shubh</name></author>
	</entry>
</feed>