Basic Auth for Static S3 Site | AWS Tutorial

Learn how to secure your static S3 site with HTTP Basic Auth using Lambda@Edge and CloudFront. This tutorial will show you how to create a custom authorizer function and deploy it to AWS.

In this video we add basic auth to an s3 bucket containing a static website.

This way, the browser will display an authentication dialog and require a username and password to get access to the static site. This will protect the files on our s3 bucket and limit access to them.

We use a cloudfront distribution and a lambda edge function that checks the request being made and authenticates the user.

#Basic #Auth #http #aws 

Basic Auth for Static S3 Site | AWS Tutorial
1.45 GEEK