
Hi, Today I'm going to tell you a story about a feature we wanted to implement to secure a website by adding authorisation to it. TL;DR: Authorization: plan your authorization flow in advance, with all involved calls and pages Lambda@Edge: keep html content out of the lambda code keep lambda code as simple as possible it could be tricky to find your lambda logs in CloudWatch Check out the code at https://github.com/ilya-v-trofimov/s3-site-auth Intro It might seem to be a trivial task, but the website happened to…
Lire la suite