Skip to content

Remove default S3.Public on bucket object uploads #12

@mikejgray

Description

@mikejgray

err := s.bucket.PutReader(key, item, item.Size, mime.TypeByExtension(filepath.Ext(item.Path)), s3.PublicRead)

Defaulting to a public ACL on a bucket object upload is not at all a secure practice. Preferably, object ACLs could be added via CLI options. If anything is hardcoded it should be BucketOwnerFullControl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions