cloudfront-authorization-at-edge
Protect downloads of your content hosted on CloudFront with Cognito authentication using cookies and Lambda@Edge (by aws-samples)
amazon-cloudfront-functions
By aws-samples
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
cloudfront-authorization-at-edge | amazon-cloudfront-functions | |
---|---|---|
12 | 9 | |
445 | 445 | |
1.3% | 1.3% | |
6.9 | 2.6 | |
2 days ago | 2 months ago | |
TypeScript | JavaScript | |
MIT No Attribution | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cloudfront-authorization-at-edge
Posts with mentions or reviews of cloudfront-authorization-at-edge.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-10.
- Hiding URL in a Cloudfront source
- Internal Static Site served to IAM users
- How can I only serve my CloudFront content to AWS IAM users?
- Google login to S3 bucket website?
-
Serverless cache
CloudFront authorization@edge
-
Protect your Amazon CloudFront content — Authorization@Edge using cookies
aws.amazon.com Recognition The earlier AWS blog that investigated wiring up Cognito authentication with Lambda@Edge: https://aws.amazon.com/blogs/networking-and-content-delivery/authorizationedge-how-to-use-lambdaedge-and-json-web-tokens-to-enhance-web-application-security/ A gist that shows how to add Basic Authentication using Lambda@Edge: https://gist.github.com/lmakarov/e5984ec16a76548ff2b278c06027f1a4 An open-source project that uses a similar approach to secure CloudFront distributions, but does not yet support Cognito (at the time of this writing): https://github.com/Widen/cloudfront-auth Additional resources Check out the code on GitHub to see how the sample solution is built. You can deploy and run the code yourself: https://github.com/aws-samples/cloudfront-authorization-at-edge. You can deploy the Amazon Cognito resources from the sample solution directly from the AWS Serverless Application Repository. 10
-
Is it possible for AWS Amplify Access Control to support 1000s of users logging in at same time?
This might help: https://github.com/aws-samples/cloudfront-authorization-at-edge
-
Is it possible to have an S3 hosted static website that's only accessible via an ALB (configured with authentication)?
Alternatively, host on CloudFront with Lambda Edge protection as suggested. Here is a sample for that which is easy to deploy: https://github.com/aws-samples/cloudfront-authorization-at-edge
-
Private files at scale with S3, Cognito, Lambda@Edge
https://aws.amazon.com/blogs/networking-and-content-delivery/authorizationedge-using-cookies-protect-your-amazon-cloudfront-content-from-being-downloaded-by-unauthenticated-users/ 3.
-
Using "Pre Generation Token" lambda with ALB
I also found the Cognito + Cloudfront + Lambda Edge approach, but that seems complicated for what I'm doing and not sure if it'll solve my problem.
amazon-cloudfront-functions
Posts with mentions or reviews of amazon-cloudfront-functions.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-24.
-
Websites with AWS: Single Page Applications
URL rewrite to append index.html to the URI for single page applications
-
Lamba@Edge best practices for dev setup?
I checked out this repo: https://github.com/aws-samples/amazon-cloudfront-functions but still had some questions for folks who are operating edge functions:
-
CloudFront with JWT authentication
I referred to this AWS GitHub repository for JWT authentication source code. You can write the JWT authentication approach by yourself. It's up to you!
-
Deploy React SPA to CloudFront and S3
Create a CloudFront function and use the below code. https://github.com/aws-samples/amazon-cloudfront-functions/blob/main/url-rewrite-single-page-apps/index.js
-
Serverless cache
Amazon CloudFront Functions
-
An Introduction To AWS CloudFront Functions
To learn more about CloudFront Functions, refer to the CloudFront Developer Guide or FAQs. A GitHub repository is also available with several examples that you can use as a starting point for building functions.
-
Successfully made my first secure static site! (Even used new CloudFront functions to rewrite urls)
Then the last step was to use a Lambda@Edge function to rewrite the urls as is described in several walkthrough articles. However in the comments to this AWS compute blog describing the lambda@edge method, the author linked to the new, cheaper, faster cloudfront functions method here with the function already written here. Thanks again to everyone who helped, sympathised or encouraged me to go swimming in the docs.
-
Add Security Headers to your Serverless Static Site
Github: [https://github.com/ivlo11/serverless-patterns/tree/main/static-site-with-cloudfront-function] Documentation: [https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-functions.html] CloudFormation Documentation: [https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html] CloudFront Function Sample Code: [https://github.com/aws-samples/amazon-cloudfront-functions]
-
AWS Cloud Front Functions
Check out this link for a few useful code samples.
What are some alternatives?
When comparing cloudfront-authorization-at-edge and amazon-cloudfront-functions you can also consider the following projects:
cloudfront-auth - An AWS CloudFront Lambda@Edge function to authenticate requests using Google Apps, Microsoft, Auth0, OKTA, and GitHub login