DEV Community

Discussion on: Share Your AWS S3 Private Content With Others, Without Making It Public

Collapse
 
frumkinariel profile image
Ariel Frumkin

Hi!
is there a way to share an s3 folder to non s3 users?
thank you

Collapse
 
idrisrampurawala profile image
Idris Rampurawala • Edited

Hey Ariel, thanks for reading the post.

AWS S3 does not have a true concept of folder structures. They are just a logical separation of actual objects. Hence, you cannot directly create a signed URL of a folder in S3.

There is a way I can think of accomplishing your task is by creating a signed URL with custom policy. The link will help you achieve your use-case. Please do share if you are able to achieve this :)

P.S. Make sure you have proper conditions in your custom policy to restrict public access.