Public Container Listing

Asked by Travis W Kiel on 2010-10-22

If you hit the location of a public container without specifying an object, you get a list of all object names. Is there a way to suppress this, or would that break functionality elsewhere? Or, was this the main reason why the referrer restrictions were put into the ACLs?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
gholt
Solved:
2010-10-22
Last query:
2010-10-22
Last reply:
2010-10-22
Best gholt (gholt) said : #1

You can't suppress just listings at this time. We discussed the options prior to implementation and decided that the simple two Read and Write permissions were probably enough for most use cases.

If you really need to protect somebody from getting a list of public objects you can create a separate public container for each object.

Travis W Kiel (twkiel) said : #2

Thanks gholt, that solved my question.

sujay (sujay-m17) said : #3

Hey gholt currently it is showing Unauthorized if i give only public container name for listing of files in it. Is there any way i can list the files publicly