S3: publishing some private bucket photos

System Information
  • Strapi Version: 4.9
  • Operating System: Ubuntu 22.03
  • Database: sqlite
  • Node Version: 12.22
  • NPM Version: 9.6.2
  • Yarn Version:

Strapi vets, I would love to get your input… We have thousands of photos in S3. Does strapi’s functionality support keeping photos private, while allowing access to select photos that were “published”? We r using bunny.net as a CDN.

I can imagine a hacky way where we control access to images via controlling what goes to the CDN, but it feels like this can get messy pretty quickly…

Any thoughts?

You could configure strapi to use a private AWS bucket if you are on the newest strapi version what would give you a url to every image instad of the bucket being public

Boegie19, yes I saw their annoucement. Very exciting. Do you think these URLs to private images have limiting time to live (TTL) or be static. I need to un-publish images of outdated products or internal images.

Would it make sense to make the CDN rewrite the public URLs?

Thanks for your quick response, very much appricated :slight_smile:

Onestly no clue have not looked into that myself