0 Replies Latest reply on Apr 20, 2010 6:51 AM by pravin uttarwar

    Flex and Amazon

    pravin uttarwar

      Hi Guys,

       

      I am currently facing one Problem using Amazon S3 API's for Flex.
      It gives SOAP calls to amazon and retrives the contents in stored in buckets on Amazon S3.
      The call needs URLRequestHeader for "Authorization" and "Date",but from Flash Player 9 Adobe have added more security for crossdomain calls .
      therefore "Authorization" and "Date" headers are not working in Flash Player 10 .

       

      I have commented Data header part , but now it needs crossdomain.xml on s3 domain,
      I have putted it in my bucket on s3 , the file looks something like this ,

       

      <?xml version="1.0"?>
      <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
      <cross-domain-policy>
      <allow-access-from domain="*" to-ports="*" />
      <allow-http-request-headers-from domain="*" secure="true" headers="*"/>
      </cross-domain-policy>

       

      Here I have added header part so now I am able to add "Authorization" header in URLRequest.

      But still I am not able list the objects inside the bucket.

      The ACl on Bucket are allowed only for Authenticated Users.

      Is there anyone who worked on Amazon S3 with Flex?

       

       

       

       

       

      Thanks & Regards,

       

      Pravin Uttarwar | Perennial Systems
      pravin.uttarwar@perennialsys.com | Cell: +91 9371288080 | Tel: +91 (020) 2421 1286 Ext:2007