Custom domain name for Spaces shows list of all files

Posted February 27, 2019 1.8k views
DigitalOceanObject StorageUbuntu 18.04

I currently have a DigitalOcean Space for Object Storage in which I store pictures. Access to the files is set to Restricted in the admin panel, so when I go to, I recieve the “Permission Denied” message as expected. However, I followed this guide to route over a secure connection (https). This works flawlessly and routes to the image in my Space.

However, the problem is, when I go to, I can see a list of all the files, similarly to what I see when I set the access to “Public” in my admin panel. However it seems to be an index created by AWS. I use node.js to upload using S3 but I don’t think that’s causing this to show up?

<ListBucketResult xmlns="">

If someone could point me in the right direction as to how to hide those files.. that would be nice!

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.

Submit an Answer
1 answer

Hey friend,

I’m sorry about the trouble you’re experiencing. We have not been able to replicate this on our side. Is it possible that you have browser addons preventing the setting change to be submitted from the browser to our server?