How Do I Set Permissions on an Object?
If you are in the old Amazon S3 console, to use the new console, choose Opt In in the following box, which appears on the old Amazon S3 console home page. Note that Opt In is not available in all Regions.
This section explains how to use the Amazon Simple Storage Service (Amazon S3) console to manage access permissions for an S3 object by using access control lists (ACLs). ACLs are resource-based access policies that grant access permissions to buckets and objects. For more information about managing access permissions with resource-based policies, see Overview of Managing Access in the Amazon Simple Storage Service Developer Guide.
In addition to granting permissions to your own AWS account, you can grant permissions to other AWS accounts or predefined groups. The user or group that you grant permissions to is called the grantee. By default, the owner, which is the AWS account that created the bucket, has full permissions.
Each permission you grant for a user or a group adds an entry in the ACL associated with the object. The ACL lists grants, which identify the grantee and the permission granted. For more information about ACLs, see Managing Access with ACLs in the Amazon Simple Storage Service Developer Guide.
To set permissions for an object
Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.
In the Bucket name list, choose the name of the bucket that contains the object.
In the Name list, choose the name of the object for which you want to set permissions.
You can Manage Users or Manage Public Permissions.
To grant permissions to an AWS user from a different AWS account, under Manage users, chooseAdd users. In the Enter an ID or email field, type an email address or the canonical ID of the AWS user that you want to grant object permissions to. The email address must be the same one that the user gave when signing up for an AWS account. For information on finding a canonical ID, see AWS Account Identifiers in the Amazon Web Services General Reference. You can add as many as 99 users.
Select the check boxes for the permissions that you want to grant to the user, and then choose Save. To display information about the permissions, choose the help icons.
To give public access to your object, under Manage public permissions choose one of the following predefined groups:
- Any authenticated AWS user–This group represents all AWS accounts worldwide. Access permission to this group allows any authenticated AWS account user to access the object.
- Everyone–Access permission to this group allows anonymous access, which means that anyone in the world can access the object.
Choose the help icons to display information about the permissions.
Select the check boxes for the permissions that you want to grant to the user, and then choose Save.
You can also set object permissions when you upload objects. For more information on setting permissions when uploading objects, see How Do I Upload an Object to an S3 Bucket?.