Skip to content

Commit

Permalink
Merge pull request #16 from FindHotel/remove-s3-object-public-access
Browse files Browse the repository at this point in the history
Remove public access ACL
  • Loading branch information
skr1n authored Jun 2, 2022
2 parents c5da9a7 + be992d8 commit a4500ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3client.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func (c *s3Client) upload(r io.Reader) error {
input := &s3manager.UploadInput{
Body: r,
Bucket: aws.String(c.config.S3.Bucket),
ACL: aws.String("public-read"),
ACL: aws.String("private"),
Key: aws.String(key),
}
_, err := c.uploader.Upload(input)
Expand Down

0 comments on commit a4500ec

Please sign in to comment.