[Openstack] [Swift] Use tempurl and control the input file
Jonathan Lu
jojokururu at gmail.com
Thu Nov 21 01:12:41 UTC 2013
HI, Shri
How can swift know this is the specific object? only by the object
name?
Best Regards
Jonathan Lu
On 2013/11/21 3:05, Shrinand Javadekar wrote:
> TempURLs are generate for a specific object (file). So if you're
> filename is "foo", generate the tempurl as:
>
> $ swift-temp-url PUT 300 /v1/AUTH_blah/container/foo <account-tempurl-key>
>
> With the genearated url, only file "foo" will be allowed to be PUT.
>
> -Shri
>
> On Wed, Nov 20, 2013 at 1:31 AM, Jonathan Lu <jojokururu at gmail.com> wrote:
>> Hi, all stackers,
>>
>> It is said that using TempURL can control the access to Object Storage,
>> and it does work by following the instruction:
>>
>> http://docs.openstack.org/folsom/openstack-object-storage/admin/content/swift-tempurl.html
>>
>> My question is, when a PUT request is tempurled, can I limit which file
>> to be put? For example if the md5 of the object is
>> 787C3DF307835B40E7D23EBECDDA78CA, then all the other objects whose md5 is
>> not this will be denied.
>>
>> Thanks.
>>
>> Jonathan Lu
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to : openstack at lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
More information about the Openstack
mailing list