Ask Your Question

Is there a way to configure unauthenticated object access?

asked 2013-08-21 23:23:40 -0500

neilc gravatar image

I have a use case where I want to allow access to a particular object in Swift without enforcing authentication, but I don't want the Content-Disposition header being set. In fact, I require it not be set, so using tempurl is not going to work. Is there a way to configure this, or will I have to modify the code?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-22 10:56:55 -0500

neilc gravatar image

OK, reading through the docs some more I found:

which has the answer to the question. The short answer is to set X-Container-Read to ".r:*" on the container, which allows everyone read access to the objects in it.

edit flag offensive delete link more


Please accept the answer, if it has worked for you.

Jobin gravatar imageJobin ( 2013-08-22 14:19:01 -0500 )edit

I don't have enough points to accept my own answer, sadly.

neilc gravatar imageneilc ( 2013-08-22 14:49:28 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-08-21 23:23:40 -0500

Seen: 109 times

Last updated: Aug 22 '13