Skip to content

Example of storing public and private files in single S3 bucket exposed by CloudFront

License

Notifications You must be signed in to change notification settings

CatchMe2/public-and-private-files-in-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Public and private files in S3

Example of storing public and private files in single S3 bucket exposed by CloudFront

Main assumptions

  • direct access to the S3 bucket is forbidden, files are available only via CloudFront
  • files are private by default - only files with /public prefix are public
  • the pre-signed url will be used to give access to the private file
  • S3 and CloudFront deployment is handled by Terraform

About

Example of storing public and private files in single S3 bucket exposed by CloudFront

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published