Ask Your Question

tempURL key generation and how to block it.

asked 2014-07-11 12:42:15 -0600

Barryl gravatar image

updated 2014-07-14 14:47:18 -0600

torgomatic gravatar image

I have a server that can hand out temp URLs to access objects in the object store.

A potential problem is that if someone were to generate a new tempURL key it would invalidate the one used by the server and neither the person who did this or the server would be aware until you have clients complaining that the URLs do not work.

Is there any way to disable the tempURL key generation so the key can not be changed so easily? It is the type of thing that a developer might do unaware of the side effects.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-14 14:49:04 -0600

torgomatic gravatar image

No, there's no way to disable that. The tempurl key is just a piece of account metadata with a particular name, and Swift does not offer a way to disable editing of account metadata.

edit flag offensive delete link more


That is what I thought.

Is there any way to detect if it has changed other than pinging the server with a temp URL?

Barryl gravatar imageBarryl ( 2014-07-15 10:32:07 -0600 )edit

Your Answer

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

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-07-11 12:42:15 -0600

Seen: 148 times

Last updated: Jul 14 '14