I wrote an implementation for generating pre-signed URLs for the aws-s3 bucket. It works great for getting individual files / objects.
How do I do this to create pre-signed URLs for entire directories? Let's assume that there are several folders on my s3 bucket with their own small html5 applications. Each folder has its own set of html, css, js, as well as media files. In this case, I will not generate a pre-signed URL for a single object.
If I give a pre-signed url for one file, for example: index.html for a folder, this file will also have to load the css, js and media files. Files for which we do not have a signed URL.
I'm just not sure how to implement this.
source
share