News for hackers. Stuff that matters.
Re:3 Problems AWS Needs to Address by akoumjian on Wednesday May 09, 2012 @01:45AM (#3947230)
I tweeted the same thing to that account and got no response. I'm glad you did. the Access-Control-Allow-Origin header has been a heavily requested feature since 2009: https://forums.aws.amazon.com/thread.jspa?threadID=34281&...

One example of how fundamental this is: you cannot currently perform a direct AJAX upload to an s3 bucket from a web application hosted on an ec2 instance.

There is a postMessage hack that will work with small files, and of course you can use a proxy, but you'd think it would be a common scenario to want to upload files directly to S3.

Re:3 Problems AWS Needs to Address by boucher on Wednesday May 09, 2012 @03:06AM (#3947399)
You can upload files directly to s3 from your website: http://aws.amazon.com/articles/1434
Re:3 Problems AWS Needs to Address by Smrchy on Wednesday May 09, 2012 @05:20AM (#3947703)
This only works standalone and not embedded in an AJAX application.

I only wish someone from the S3 team at Amazon would at least answer to this thread:

https://forums.aws.amazon.com/thread.jspa?threadID=34281&...

Hundreds of messages in this thread and no answer after 2 years and counting.

Re:3 Problems AWS Needs to Address by boucher on Thursday May 10, 2012 @12:12AM (#3951820)
Well, "AJAX application" is too nebulous of a term to really be meaningful here. If you mean you can't use an XHR request, sure, but you can certainly construct the necessary <input> element and POST request dynamically with JavaScript.