title: AWS S3 Query String Request Authentication Alternative Upload a file
body: <p>Has anyone successfully done this?</p>
  
  <p>My idea is to post to a servlet and it will respond with Query String Request Authentication url after the servlet has authenticated the user. The user will then use this url to upload a picture file.</p>
  
  <p>Was wondering if this is even possible.</p>
  
  <p>The thing I don't get is how do you transfer the picture from your computer or device to the s3.</p>
  
  <p>This is the StringToSign:</p>
  
  <pre><code>PUT\n
  (content here?)\n
  image/jpeg\n
  1175139620\n
  /johnsmith/photos/puppy.jpg
  </code></pre>
  
  <p>How do I inser the content into the string to sign? Do i base64 it first then md-5 it?</p>