Click here to Skip to main content
15,917,862 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
i have a simple blog , i store images in aws s3 and public link. I want to know is it vulnerable when doing it ?
or i should get pre-signed url from node server and display ?


What I have tried:

public link in aws s3 and use it or get pre-signed url
Updated 6-Jan-17 7:54am

1 solution

By making you files public, you are allowing anyone/anything to have access to those files. If those files should only be access by authenticated users then you need to use pre-signed URLs and make your files private.

If the files you are storing can be view by authenticated and unauthenticated users, then making your files public in S3 is fine.

If you need a mixture of both, in my personal opinion its just easier to handle all your files in one method, and so I would change the files to private and use pre-signed URLs.

But you need to evaluate what your project is doing, what kind of files your are storing in terms of who should have access to them and implement your functionality accordingly.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900