Question

HotLink for my videos and images stored in my Space

Posted October 31, 2018 1.1k views
CentOSStorage

Hi, i I am consuming a lot of bandwidth, since in my site the links are stolen, I want to know how I can activate a hotlink for the files and that you can only see if you are on my site.

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello,

What you could do is set CORS policies to allow embedding of content from your domain only: https://www.digitalocean.com/docs/spaces/how-to/cors/ - you will want to add your exact domain including subdomain and HTTP/HTTPS https://www.mydomain.com and check the GET box.

Regards,
Bobby

Submit an Answer