S3 pre signed url default expiry time.

Amazon S3 upload add-on.
Post Reply
bvivek20
Posts: 4
Joined: Mon Aug 13, 2012 1:53 pm

S3 pre signed url default expiry time.

Post by bvivek20 »

Hello,

PUT upload supports aws signed urls. In the aws documentation it says with the signature even expires can be sent to the aws server.

There is no option in js3upload. What is the default expiry of the pre-signed url?? or is there any way i can send it with js3upload. Any extra param or something???

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: S3 pre signed url default expiry time.

Post by support »

How to do you generate the pre-signature? Are you talking about the one that could be passed in URL? Or a signed policy?

bvivek20
Posts: 4
Joined: Mon Aug 13, 2012 1:53 pm

Re: S3 pre signed url default expiry time.

Post by bvivek20 »

Sorry for the delay in replying.

Basically i am using :

document.writeln('<PARAM NAME="param3" VALUE="awsaccesskeyid">');
document.writeln('<PARAM NAME="value3" VALUE="xxxxxxxxxxxxxxxxxx">');
document.writeln('<PARAM NAME="param4" VALUE="awssignurl">');
document.writeln('<PARAM NAME="value4" VALUE="http://xxxx.com/sign.php">');

Its a aws sign url, i am using default sign.php provided by you guys. How to specify expiry of this pre signed url. Help its critical.

Thank you

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: S3 pre signed url default expiry time.

Post by support »

'awssignurl' signs generates S3 signature in live. There is no pre-signature. What you want is to setup an expiration for live signature?

bvivek20
Posts: 4
Joined: Mon Aug 13, 2012 1:53 pm

Re: S3 pre signed url default expiry time.

Post by bvivek20 »

Yes, i want to setup an expiration for live signature. I need to specify Expires time for the signed url.

bvivek20
Posts: 4
Joined: Mon Aug 13, 2012 1:53 pm

Re: S3 pre signed url default expiry time.

Post by bvivek20 »

Hello, is there any way i could set up an expiry through js3upload ?? its a bit critical for me. So pls do the needfull.
:(

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: S3 pre signed url default expiry time.

Post by support »

Are you sure this feature is provided in AWS API? I can see expiration of HTTP GET (i.e. download file) but not for upload? See:
http://s3.amazonaws.com/doc/s3-develope ... ation.html

Or maybe I don't understand what you need. Could you explain the scenario?

Post Reply