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

A workaround for some of the limits of presigned urls like not being able to specify a max file size is to front your uploads using CloudFront OAC and CloudFront Functions. It costs more (.02/GB) but you can run a little JavaScript code to validate/augment headers between your user and S3 and you don't need to expose your bucket name. https://speedrun.nobackspacecrew.com/blog/2024/05/22/using-c...


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

Search: