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.
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
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.