Search code examples
amazon-s3cloud-foundryswisscomdev

S3 ACL Public-Read on Swisscom Cloud


AFAIK Swisscom does not support Uploads into the S3 Service with a public-read status. The only way to share a file is via presigned url. Is this correct? Already asked here:

How to serve user-uploaded files on Swisscom Application Cloud?

In the docs, it's written though that PUT Object ACLis supported. According to the Amazon Specs this should include public-read as well.

What is the current case now? What is the best workaround if it's not possible to store public readable binaries? For example to serve images for a website stored on Swisscom S3?


Solution

  • Swisscom Dynamic Storage currently does not support static web pages, which means every http request has to be signed. Workaround are shareable URLs with a very long expiration date so called Pre-signed Object URL.