Proof-of-concept S3 multipart uploader in Javascript

I need a JS script that can multipart upload directly to Amazon S3. While Amazon has an official JS SDK, there's no realistic way to use it without hard-coding your AWS credentials client-side. This is obviously a deal-breaker in a production environment.

You can generate authentication info in PHP and embed it in a POST form, but then you can only upload up to 5 GB. So to upload more than 5 GB you need to split up the file in JS and upload the pieces.

So my idea was to have a PHP script containing the AWS user credentials that is responsible for using those credentials to generate authorization signatures that the JS script can send to the AWS REST API. The AWS credentials must remain server-side and not be exposed to the client-side script.

It is important that when the client uploads the actual file data, that data goes directly to S3 and doesn't pass through the PHP script.

Here's the sequence of events:

1. The user browses for a file and clicks Upload. The JS script sends a request to the PHP script, which initiates the multipart upload and sends the upload ID back to the JS script.

2. The JS script splits the file into pieces, then sends a request to the PHP script for the authorization signature and then sends to AWS each piece as a multipart upload.

3. Once the entire file is uploaded, it sends a request to the PHP script to finish the multipart upload.

Steps 1 and 3 can be implemented directly via the AWS PHP SDK. Step 2 will require a manual implementation via Amazon's REST API.

Other requirements:

* You should use the latest AWS API version (2006-03-01) and latest signature version (v4)

* The implementation should be as pure as possible with as few libraries as necessary (jQuery is ok)

So this project consists of three files: the JS script, the PHP script and an upload page. As it's a proof-of-concept the UI doesn't matter and you needn't spend any time making it look nice.

Compétences : Services Web d'Amazon, Javascript, PHP, Architecture Logicielle

en voir plus : proof concept project, develop proof concept iphone applications, proof concept document, javascript s3 multipart upload, s3 multipart upload performance, javascript multipart upload, resumable js s3, s3 multipart upload permissions, s3 multipart upload pricing, s3 multipart upload limit, aws s3 multipart upload example, proof concept javaj2ee project, spring hibernate proof concept project, ejb jboss proof concept project, bulk image uploader javascript, proof concept document web, erp proof concept demo agreement, free uploader javascript php, proof concept document software sample, proof concept document 2009

Concernant l'employeur :
( 9 commentaires ) North Hollywood, United States

Nº du projet : #18207998

Décerné à:


Hello. I have much experience in JS script on Amazon S3 bucket. I can generate authentication info in PHP I already read all task details carefully, and I am sure I can do this job quickly and perfectly. I would l Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 10 jours
(32 Commentaires)

8 freelance font une offre moyenne de $536 pour ce travail


Hello, I'm expert web developer, working of javascript frameworks with cloud services. My mail skill is node.js and aws s3 and also can provide various Js and php frameworks like react.js, angular.js, laravel, ci, yi Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(48 Commentaires)

Dear Client Thanks for your job. I have good skills in the AWS ec2, lightsail, s3 etc. And also have done the works of s3 sdk projects before. It is the streaming service showing the food recipe videos And the v Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(46 Commentaires)

Hi, I have read your description carefully and understood your requirement. I am a full-stack developer with pro skills in PHP/jQuery/Amazon. So I can perfectly complete your requirement with jQuery. Please check m Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(58 Commentaires)

hello how are you? I am very interested in your project. I have read your description very carefully. I can do your job in time. kind regards

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(6 Commentaires)

Hi There, I am a professional PHP developer with an experience of more than 6 years in creating and customizing PHP based websites, themes and plugins/modules. I have been working with MVC architecture using CodeIgnit Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 12 jours
(45 Commentaires)

Greetings Hope you are doing great. Thank you for this wonderful opportunity. I am able to start with in 5 minutes after hire. I have worked on similar projects to what you are looking for and I am confident. I can Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(0 Commentaires)

HI I am Xpert P. I am senior Developer and I am Expert in Amazon Web Services, Javascript, PHP, Software Architecture. I have completed 200+ based projects in programming with 100% client satisfaction .I have Working e Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)