Hacker News new | ask | show | jobs
by mr_puzzled 2770 days ago
Thanks for the explanation. Follow up question : how did you implement the signed cookies part?
1 comments

Use the the aws sdk to generate credentials on your server, pass the returned creds to your frontend. The request to generate the credentials allows you to lock down the size and type of file. They can go directly into a form or used in javascript. Lot of github libs and stack overflows that go into more detail. https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-UsingH...