How to prevent hotlinking of files hosted in Digital Ocean Spaces?

December 14, 2017 203 views
DigitalOcean Storage

I just recently move from S3 to Spaces. I'd like to know if Space supports Bucket Policy like S3 and how to prevent files hosted in Spaces from being hotlinked? I only need a very basic one like filtering the referrer header before serving the file

Be the first one to answer this question.