[Seaside] Cloudfork SSO - url generation

Francois Stephany tulipe.moutarde at gmail.com
Fri Mar 30 23:50:14 UTC 2012


I'm playing with Cloudfork SSO to manipulate objects stored on S3. Is 
there a way to generate a temporary url for an object stored in a 
private bucket ?

A bit like the url_for method in the Ruby library 
(https://github.com/marcel/aws-s3):

S3Object.url_for('beluga_baby.jpg', 'marcel', :expires_in => 60 * 3)

If I understand correctly, it generates a link with a queryString that 
looks like:

"AWSAccessKeyId=#{access_key_id}&Expires=#{expires}&Signature=#{encoded_canonical}"

Is there something like this in Cloudfork ?

Cheers,
Francois


More information about the seaside mailing list