To control the access of Amazon S3, you can define permissions to the users by configuring AWS Identity and Access Management (IAM). The AWS IAM service provides enhanced security.
Perform the following steps to configure IAM authentication:
Create a minimal Amazon S3 bucket policy. You can grant folder-level and object-level access to users.