I am Newbie on AWS S3, I created the bucket, On that I stored User profile photo and our daily basis data backup (Upload on frequent interval) on S3.
When I Open the S3
Access: Public is showing
And when I opened the Bucket there is Permissions tab which also showing public.
My Bucket Policy is also Public,
Tell what is the standard and secure implementation for creating the bucket.
If I remove public access then user will get its profile photo or not? If I remove public access then My Database Backup will upload or not?
I know there is Private option which is recommended but after changing from public to private I am afraid that my photo and database backup will not work.
My Bucket policy is
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::mybucketname/*"
}
]
}
This policy it is clear that this will allow all.
Anyone who have Strong knowledge and have expertise on that please suggest me some good way to fix this issue. Any help or support or suggestion is really appreciated.