News for hackers. Stuff that matters.
Re:Ask HN: How to handle user file uploads? by busymom0 on Saturday May 04, 2024 @02:23PM (#40259356)
pre-signed URLs also allow you to set conditions such as file size limit, type of file, file name etc to ensure malicious party isn't uploading a massive 1 TB file into your bucket which you serve as profile pics. However, while amazon S3 supports these "conditions", others like backblaze implementing S3 may or may not implement it. So beware.
Re:Ask HN: How to handle user file uploads? by gehen88 on Saturday May 04, 2024 @04:04PM (#40259936)
Note that limiting content length only works with createPresignedPost, not with getSignedUrl.