By PennyWise94
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 myproject.ams3.digitaloceanspaces.com, I recieve the “Permission Denied” message as expected. However, I followed this guide to route files.myproject.com over a secure connection (https). This works flawlessly and routes https://files.myproject.com/image.jpg to the image in my Space.
However, the problem is, when I go to files.myproject.com, 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="http://s3.amazonaws.com/doc/2006-03-01/">
<Name>myproject</Name>
<Prefix/>
<Marker/>
<MaxKeys>1000</MaxKeys>
<IsTruncated>false</IsTruncated>
<Contents>
<Key>image.jpg</Key>
<LastModified>2019-02-25T15:20:18.675Z</LastModified>
<ETag>"*******"</ETag>
<Size>294316</Size>
<StorageClass>STANDARD</StorageClass>
<Owner>
<ID>********</ID>
<DisplayName>********</DisplayName>
</Owner>
</Contents>
If someone could point me in the right direction as to how to hide those files… that would be nice!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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?
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.