Remote signature
Posted: Sat Jun 16, 2012 7:58 am
JS3Upload allows signing S3 requests remotely though:
<PARAM NAME="param3" VALUE="awssignurl">
<PARAM NAME="value3" VALUE="https://server.com/sign.php">
It avoids having secret key (even encrypted) on client slide. Only keyid is required
Sample PHP sign script is available in documentation at:
documentation-js3upload/server-side/s3signature
You need to setup your AWS Secret Key in config.php:
And then applet will call sign.php each time a signature needs to be computed.
This feature is documented at:
http://www.jfileupload.com/products/js3 ... ation.html
<PARAM NAME="param3" VALUE="awssignurl">
<PARAM NAME="value3" VALUE="https://server.com/sign.php">
It avoids having secret key (even encrypted) on client slide. Only keyid is required
Sample PHP sign script is available in documentation at:
documentation-js3upload/server-side/s3signature
You need to setup your AWS Secret Key in config.php:
Code: Select all
<?php
$sharedsecret = 'YOURAWSSecretKeyHere';
?>
This feature is documented at:
http://www.jfileupload.com/products/js3 ... ation.html