知識庫

How do I configure hotlink protection?  列印本文

  1. Login to cPanel.
  2. Locate and click on the "Hotlink Protection" icon within the "Security" category.
  3. Open the Hotlink Protection link in cPanel.
  4. To enable/disable Hotlink protection, click on the "Enable" or "Disable" button.
  5. Under the "URLs to allow access" heading, enter the name of your domain and any subdomains that will require access to server resources (images, etc).
  6. Under the next heading, enter the extensions of files you want to block direct access to. Many common file types will be listed by default.
  7. Choose whether or not to allow direct access to the file (The file can be access directly from the browser, just not from another web page.)
  8. You can enter a "Redirect" URL for requests that attempt to access a hotlink protected resource. This page may be a "Hotlinking is not allowed" page.
  9. Updating your hotlink protection settings.
  10. Click the "Submit" button to save your settings.

這篇文章有幫助嗎?

相關文章

What is hotlink protection?
Hotlink protection is disabling external use of your resources. For instance, if your website has...
How do I block an IP address from accessing my site?
If you wish to ban a user from accessing your website in any way, the best way to do this is to...
How do I password protect a directory?
Login to cPanel. Locate and click on the "Password Protect Directories" icon under the...