Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Latest commit

 

History

History
13 lines (9 loc) · 1.49 KB

public-folders.md

File metadata and controls

13 lines (9 loc) · 1.49 KB

Making folders public

Amazon S3 has a flat structure instead of a hierarchy like you would typically see in a file system. However, for the sake of organizational simplicity, the Amazon S3 console supports a folder concept as a way to group objects. In Amazon S3, the folder is a naming prefix for an object or group of objects. For more information, see How do I use folders in an S3 bucket?

We recommend blocking all public access to your Amazon S3 folders and buckets unless you specifically require a public folder or bucket. When you make a folder public, anyone on the internet can view all the objects that are grouped in that folder. In the Amazon S3 console, you can make a folder public. You can also make a folder public by creating a bucket policy that limits access by prefix. For more information, see Setting bucket and object access permissions.

Warning
After you make a folder public in the Amazon S3 console, you can't make it private again. Instead, you must set permissions on each individual object in the public folder so that the objects have no public access. For more information, see How do I set permissions on an object?

More info