Completed

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.

Skills: Amazon Web Services, Javascript, PHP, Software Architecture

See more: 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

About the Employer:
( 9 reviews ) North Hollywood, United States

Project ID: #18207998

Awarded to:

akioUnity

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 More

$500 USD in 10 days
(32 Reviews)
6.1

8 freelancers are bidding on average $536 for this job

ZhenExpert

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 More

$666 USD in 10 days
(48 Reviews)
7.0
sun0815

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 More

$555 USD in 10 days
(46 Reviews)
6.3
CrazyWebGuru

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 More

$555 USD in 10 days
(58 Reviews)
6.2
yongbeauty1996

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

$555 USD in 10 days
(6 Reviews)
4.9
Vedtechnology

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 More

$650 USD in 12 days
(45 Reviews)
4.4
parveendcatch

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 More

$555 USD in 10 days
(0 Reviews)
0.0
sayanprogrammer2

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 More

$250 USD in 7 days
(0 Reviews)
0.0