Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What about hosting images on S3? How would one authorize access based on user? Use Cognito to map AWS IAM role to s3 resources at a per-user basis?


You can generate keys for S3 on your server, allowing temporary upload or download access to specific files. Generating an IAM role per app user is not practical.


You can use IAM federated access (with your own identity provider implementation) to provide on-demand per-user IAM security tokens




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: