How to restrict access to a static S3 site using HTTP Basic Auth?

Published: 17 March 2021
on channel: BiteSize Academy
22,040
611

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

⚡️ Blog post: https://www.undefinedapps.com/post/re...

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.

⭐️ Subscribe for more content: https://newsletter.undefinedapps.com/

#basicauth #s3 #cloudfront


Watch video How to restrict access to a static S3 site using HTTP Basic Auth? online without registration, duration hours minute second in high quality. This video was added by user BiteSize Academy 17 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 22,040 once and liked it 611 people.