Hotlink Protection prevents other websites from directly linking to files like images, videos, etc., hosted on your server. When another website embeds your files on their pages, they consume your server's bandwidth and processing power while stealing your content, a practice known as bandwidth theft or leeching.
Enabling Hotlink Protection ensures that your value assets are only accessible when visitors are physically browsing your authorized domains. This safeguards your hosting resources, maintains site performance, and prevents unauthorized automated scrapers from mining your data.
How to Enable Hotlink Protection in cPanel?
Follow these step-by-step instructions to configure and activate Hotlink Protection across your hosting panel.
Step 1: Navigate to the Security Panel
Step 2: Verify Allowed Domains
Note: cPanel automatically populates and manages this list for all domains configured on your account.
Step 3: Define Protected File Extensions
Step 4: Restrict Direct URL Requests
Why this matters: Keeping this unchecked ensures that if a user or automated bot tries to paste the direct URL path of a protected file into a browser or script, the server will block it with a 403 Forbidden Error instead of serving the file, but this can affect your Google SEO rank.
Step 5: Save and Activate
Scroll back to the top of the page and click the Enable button. The status message will update to read: Hotlink protection is currently enabled.
