How to set up hotlinking protection

BunnyCDN allows you to set up hotlinking protection and stop other websites from both stealing your content and increasing your bandwidth bills. You can set this up in 3 easy steps by creating a list of allowed referrers.


1. Open your pull zone security settings

First, log into your dashboard, open your pull zone management page and click on the Security panel.

2. Add Allowed Referrers

Enter your website domain name without any protocol or paths (For example and click the add allowed referrer button.

3. Repeat for every domain and subdomain

Finally, repeat this for each of the domains you want the data to be accessible on. You can also use a simple wildcard to include all the subdomains (* However, do keep in mind that this does not include the root domain. You will have to include it separately. Any website not on the list will receive a 403 Forbidden response instead of your content.

Was this article helpful?
26 out of 31 found this helpful



  • Comment actions Permalink

    how to make sure, files are accessed only through our android or ios app?

  • Comment actions Permalink

    Hi Sharath,


    You could try looking at the token authentication system instead:

    This way you can restrict your URLs from only being accessed temporarily and with a valid token to completely control the security of your content.

  • Comment actions Permalink

    Hi, is there any way to redirect on the blog post page instead of a 403 Forbidden response.

    To solve it, I was researching some of my competitor's websites who have solved this problem.

    Just go to this URL and then click on the download button given there, then the Apk file will start downloading.

    If someone copied/stealing the link from the Download button and paste it into their blog post page, then it redirects to the website's blog post instead of directly downloading or a 403 Forbidden response.

    So can I do this same with my BunnyCDN file?

    Look at the example website I showed you above, and please tell me whether it's possible to do the same with my BunnyCDN Apk files or not?


Please sign in to leave a comment.