Skip to content

Disable access to all content in bucket at root path #802

@thrijith

Description

@thrijith
  • Is it expected for all content to be displayed when going to the root of the bucket URL?
  • If someone goes to the root of the bucket URL, it shows all media in XML format.
<ListBucketResult xmlns="http://doc.s3.amazonaws.com/2006-03-01">
    <Name>bucket-name</Name>
    <Prefix/>
    <Marker/>
    <NextMarker>11/5-160x160.jpg</NextMarker>
    <IsTruncated>true</IsTruncated>
    <Contents>
        <Key>1/.DS_Store</Key>
        <Generation>150112259202467570888</Generation>
        <MetaGeneration>3</MetaGeneration>
        <LastModified>2017-10-18T18:47:47.542Z</LastModified>
        <ETag>"bdc5a4dc6btv5gv89eo51p58b5f30181ca032b56265"</ETag>
        <Size>6148</Size>
    </Contents>
</ListBucketResult>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions