Enabling Public Read Access for Tigris S3 Bucket
viviananiebonam
PROOP

18 days ago

I am using the Tigris S3-compatible storage service on Railway for my app. I need to make my bucket (categorized-lockerbox-a4tqnx) publicly readable so that images (like logos) in sent emails can be viewed by anyone without a security token.

The Problem:

  1. I cannot find the "Public Access" toggle in the Railway settings UI for this bucket.

  2. Attempts to set a public bucket policy via the S3-compatible API or SDK are failing with "403 Forbidden" or "Not Implemented" errors.

How can I properly enable public read access for this Tigris bucket so that my file URLs stay permanent and accessible to the public?

$10 Bounty

2 Replies

coddermind
PRO

16 days ago

Railway buckets are private, so their files cannot be accessed directly from the public internet. To allow temporary access, your backend must generate pre-signed URLs. These URLs work for a limited time (they have an expiration). Once a URL expires, the backend simply generates a new one when access is needed again.


coddermind

Railway buckets are private, so their files cannot be accessed directly from the public internet. To allow temporary access, your backend must generate pre-signed URLs. These URLs work for a limited time (they have an expiration). Once a URL expires, the backend simply generates a new one when access is needed again.

systematii
PRO

15 days ago

Can we not configure these buckets to be public?


Loading...