Ask Your Question
0

Direct link to Swift objects

asked 2013-10-03 10:53:12 -0500

JeRome gravatar image

Is there a way to provide user a direct link to an object on a storage using Swift API? I've seen ways to download objects using cURL, however you have to provide headers there. What i am trying to achieve is to have a download link on a webpage, by clicking on which user gets a file. Is this possible?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-10-03 15:15:23 -0500

It's easy to do if you set your container as public containers with the help of ACL see an article here detailling the usage of ACL with swift (and keystone) :

http://blog.fsquat.net/?p=40

edit flag offensive delete link more

Comments

Hi! Thanks a lot for your answer! However the problem is I am searching for a way to provide link to private container (I realize that link should contain credentials in this case). For example in S3 interface there is a way to do it, is there a similar way for swift?

JeRome gravatar imageJeRome ( 2013-10-04 03:38:09 -0500 )edit
0

answered 2015-12-12 04:23:49 -0500

Fal' gravatar image

Hello,

Old question, but the answer is the openstack tempurls feature :)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-10-03 10:53:12 -0500

Seen: 965 times

Last updated: Oct 03 '13