CopyPastor

Detecting plagiarism made easy.

Score: 0.8054395318031311; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2022-09-02
by Rithesh Pothu

Original Post

Original - Posted on 2021-07-13
by Indika K



            
Present in both answers; Present only in the new answer; Present only in the old answer;

{ "Version": "2012-10-17", "Statement": [ { "Sid": "PublicRead", "Effect": "Allow", "Principal": "*", "Action": [ "s3:GetObject", "s3:GetObjectVersion" ], "Resource": [ "arn:aws:s3:::DOC-EXAMPLE-BUCKET/*" ] } ] }

use this policy for that bucket, which makes it **public**.
Here's the policy that worked for me.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": [ "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::bucket-name" ] }, { "Effect": "Allow", "Principal": "*", "Action": [ "s3:GetObject" ], "Resource": [ "arn:aws:s3:::bucket-name/*" ] } ] }

        
Present in both answers; Present only in the new answer; Present only in the old answer;