Cloudfork SSO - url generation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Cloudfork SSO - url generation

fstephany
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
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Cloudfork SSO - url generation

fstephany
I've written it and should be in the project repository:
Cloudfork-AWS-FrancoisStephany.129

It would be great if someone could review it (I'm not familiar with the
project)

Cheers,
Francois

On 30/03/12 16:50, Francois Stephany wrote:

> 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
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Cloudfork SSO - url generation

Jan van de Sandt
Hello Francois,

Thank you for adding this to CloudforkAWS. I will have a look at the change later today or tomorrow.

Jan.

On Sat, Mar 31, 2012 at 4:05 AM, Francois Stephany <[hidden email]> wrote:
I've written it and should be in the project repository:
Cloudfork-AWS-FrancoisStephany.129

It would be great if someone could review it (I'm not familiar with the project)

Cheers,
Francois


On 30/03/12 16:50, Francois Stephany wrote:
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
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Cloudfork SSO - url generation

fstephany
Thank you Jan!

I've probably messed things up with Dates. It works in Pharo but I'm
pretty sure it breaks in VW or VA.

I'm maybe out of topic but can't we replace a subset of
CFPlatformServiceUtils by Grease?


Francois

On 31/03/12 04:52, Jan van de Sandt wrote:

> Hello Francois,
>
> Thank you for adding this to CloudforkAWS. I will have a look at the
> change later today or tomorrow.
>
> Jan.
>
> On Sat, Mar 31, 2012 at 4:05 AM, Francois Stephany
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     I've written it and should be in the project repository:
>     Cloudfork-AWS-__FrancoisStephany.129
>
>     It would be great if someone could review it (I'm not familiar with
>     the project)
>
>     Cheers,
>     Francois
>
>
>     On 30/03/12 16:50, Francois Stephany wrote:
>
>         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
>         <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
>
>     _________________________________________________
>     seaside mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     http://lists.squeakfoundation.__org/cgi-bin/mailman/listinfo/__seaside
>     <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>
>
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

--
http://tulipemoutarde.be
CA: +1 778 558 3225
BE: +32 65 709 131
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Cloudfork SSO - url generation

Jan van de Sandt
Francois,

We cannot replace CFPlatformServiceUtils with Grease. Grease offers only a part of the functionality we require. For example an important feature, access to a http client on all platforms is missing from Grease.

In previous version we did use Grease but because it solved only a part of our "platform" problem we decided not to use it anymore.

Jan.

On Sat, Mar 31, 2012 at 9:06 PM, Francois Stephany <[hidden email]> wrote:
Thank you Jan!

I've probably messed things up with Dates. It works in Pharo but I'm pretty sure it breaks in VW or VA.

I'm maybe out of topic but can't we replace a subset of CFPlatformServiceUtils by Grease?


Francois


On 31/03/12 04:52, Jan van de Sandt wrote:
Hello Francois,

Thank you for adding this to CloudforkAWS. I will have a look at the
change later today or tomorrow.

Jan.

On Sat, Mar 31, 2012 at 4:05 AM, Francois Stephany
<[hidden email] <mailto:[hidden email]>> wrote:

   I've written it and should be in the project repository:
   Cloudfork-AWS-__FrancoisStephany.129


   It would be great if someone could review it (I'm not familiar with
   the project)

   Cheers,
   Francois


   On 30/03/12 16:50, Francois Stephany wrote:

       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
       <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

   _________________________________________________
   seaside mailing list
   seaside@lists.__squeakfoundation.org
   <mailto:[hidden email]>
   http://lists.squeakfoundation.__org/cgi-bin/mailman/listinfo/__seaside
   <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>





_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

--
http://tulipemoutarde.be
CA: <a href="tel:%2B1%20778%20558%203225" value="+17785583225" target="_blank">+1 778 558 3225
BE: <a href="tel:%2B32%2065%20709%20131" value="+3265709131" target="_blank">+32 65 709 131

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Cloudfork SSO - url generation

Julian Fitzell-2
Just as a side note, we had hoped people would extend Grease to support other things. I imagined having a Grease-HTTP and Grease-Filesystem for example that products could add dependencies on if they need that functionality. The hope was to keep the core relatively small and build optional pieces on top of it. So, not sure if that's an option for you, but it would be welcomed if so...

Julian

On Wed, Apr 4, 2012 at 10:29 AM, Jan van de Sandt <[hidden email]> wrote:
Francois,

We cannot replace CFPlatformServiceUtils with Grease. Grease offers only a part of the functionality we require. For example an important feature, access to a http client on all platforms is missing from Grease.

In previous version we did use Grease but because it solved only a part of our "platform" problem we decided not to use it anymore.

Jan.


On Sat, Mar 31, 2012 at 9:06 PM, Francois Stephany <[hidden email]> wrote:
Thank you Jan!

I've probably messed things up with Dates. It works in Pharo but I'm pretty sure it breaks in VW or VA.

I'm maybe out of topic but can't we replace a subset of CFPlatformServiceUtils by Grease?


Francois


On 31/03/12 04:52, Jan van de Sandt wrote:
Hello Francois,

Thank you for adding this to CloudforkAWS. I will have a look at the
change later today or tomorrow.

Jan.

On Sat, Mar 31, 2012 at 4:05 AM, Francois Stephany
<[hidden email] <mailto:[hidden email]>> wrote:

   I've written it and should be in the project repository:
   Cloudfork-AWS-__FrancoisStephany.129


   It would be great if someone could review it (I'm not familiar with
   the project)

   Cheers,
   Francois


   On 30/03/12 16:50, Francois Stephany wrote:

       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
       <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

   _________________________________________________
   seaside mailing list
   seaside@lists.__squeakfoundation.org
   <mailto:[hidden email]>
   http://lists.squeakfoundation.__org/cgi-bin/mailman/listinfo/__seaside
   <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>





_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

--
http://tulipemoutarde.be
CA: <a href="tel:%2B1%20778%20558%203225" value="+17785583225" target="_blank">+1 778 558 3225
BE: <a href="tel:%2B32%2065%20709%20131" value="+3265709131" target="_blank">+32 65 709 131

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Cloudfork SSO - url generation

Larry Kellogg
Speaking of Cloudfork, has any work been done to get it running in Seaside under GLASS? 

I started looking into it, here:



but never found any time to do the port, and I'm not sure when I'll find the time. 

  Regards, 

  Larry Kellogg



On Apr 4, 2012, at 6:02 AM, Julian Fitzell wrote:

Just as a side note, we had hoped people would extend Grease to support other things. I imagined having a Grease-HTTP and Grease-Filesystem for example that products could add dependencies on if they need that functionality. The hope was to keep the core relatively small and build optional pieces on top of it. So, not sure if that's an option for you, but it would be welcomed if so...

Julian

On Wed, Apr 4, 2012 at 10:29 AM, Jan van de Sandt <[hidden email]> wrote:
Francois,

We cannot replace CFPlatformServiceUtils with Grease. Grease offers only a part of the functionality we require. For example an important feature, access to a http client on all platforms is missing from Grease.

In previous version we did use Grease but because it solved only a part of our "platform" problem we decided not to use it anymore.

Jan.


On Sat, Mar 31, 2012 at 9:06 PM, Francois Stephany <[hidden email]> wrote:
Thank you Jan!

I've probably messed things up with Dates. It works in Pharo but I'm pretty sure it breaks in VW or VA.

I'm maybe out of topic but can't we replace a subset of CFPlatformServiceUtils by Grease?


Francois


On 31/03/12 04:52, Jan van de Sandt wrote:
Hello Francois,

Thank you for adding this to CloudforkAWS. I will have a look at the
change later today or tomorrow.

Jan.

On Sat, Mar 31, 2012 at 4:05 AM, Francois Stephany
<[hidden email] <mailto:[hidden email]>> wrote:

   I've written it and should be in the project repository:
   Cloudfork-AWS-__FrancoisStephany.129


   It would be great if someone could review it (I'm not familiar with
   the project)

   Cheers,
   Francois


   On 30/03/12 16:50, Francois Stephany wrote:

       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
       <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

   _________________________________________________
   seaside mailing list
   seaside@lists.__squeakfoundation.org
   <mailto:[hidden email]>
   http://lists.squeakfoundation.__org/cgi-bin/mailman/listinfo/__seaside
   <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>





_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

--
http://tulipemoutarde.be
CA: <a href="tel:%2B1%20778%20558%203225" value="+17785583225" target="_blank">+1 778 558 3225
BE: <a href="tel:%2B32%2065%20709%20131" value="+3265709131" target="_blank">+32 65 709 131

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Cloudfork SSO - url generation

Jan van de Sandt
Hello,

I haven't heard anything about a GemStone port of CloudforkAWS or CloudforkSSO. I don't think this port exists yet.

Jan,

On Thu, Apr 5, 2012 at 2:09 PM, Lawrence Kellogg <[hidden email]> wrote:
Speaking of Cloudfork, has any work been done to get it running in Seaside under GLASS? 

I started looking into it, here:



but never found any time to do the port, and I'm not sure when I'll find the time. 

  Regards, 

  Larry Kellogg



On Apr 4, 2012, at 6:02 AM, Julian Fitzell wrote:

Just as a side note, we had hoped people would extend Grease to support other things. I imagined having a Grease-HTTP and Grease-Filesystem for example that products could add dependencies on if they need that functionality. The hope was to keep the core relatively small and build optional pieces on top of it. So, not sure if that's an option for you, but it would be welcomed if so...

Julian

On Wed, Apr 4, 2012 at 10:29 AM, Jan van de Sandt <[hidden email]> wrote:
Francois,

We cannot replace CFPlatformServiceUtils with Grease. Grease offers only a part of the functionality we require. For example an important feature, access to a http client on all platforms is missing from Grease.

In previous version we did use Grease but because it solved only a part of our "platform" problem we decided not to use it anymore.

Jan.


On Sat, Mar 31, 2012 at 9:06 PM, Francois Stephany <[hidden email]> wrote:
Thank you Jan!

I've probably messed things up with Dates. It works in Pharo but I'm pretty sure it breaks in VW or VA.

I'm maybe out of topic but can't we replace a subset of CFPlatformServiceUtils by Grease?


Francois


On 31/03/12 04:52, Jan van de Sandt wrote:
Hello Francois,

Thank you for adding this to CloudforkAWS. I will have a look at the
change later today or tomorrow.

Jan.

On Sat, Mar 31, 2012 at 4:05 AM, Francois Stephany
<[hidden email] <mailto:[hidden email]>> wrote:

   I've written it and should be in the project repository:
   Cloudfork-AWS-__FrancoisStephany.129


   It would be great if someone could review it (I'm not familiar with
   the project)

   Cheers,
   Francois


   On 30/03/12 16:50, Francois Stephany wrote:

       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
       <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

   _________________________________________________
   seaside mailing list
   seaside@lists.__squeakfoundation.org
   <mailto:[hidden email]>
   http://lists.squeakfoundation.__org/cgi-bin/mailman/listinfo/__seaside
   <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>





_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

--
http://tulipemoutarde.be
CA: <a href="tel:%2B1%20778%20558%203225" value="+17785583225" target="_blank">+1 778 558 3225
BE: <a href="tel:%2B32%2065%20709%20131" value="+3265709131" target="_blank">+32 65 709 131

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside