Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Browser Uploads to S3 using HTML POST Forms. I didn’t know you could do this: create a regular HTML form that gives people permission to upload direct to your own S3 bucket, using a signed JSON policy statement in a hidden form field to prevent third parties from abusing your S3 account.

Tagged , , , , , ,

1 comment

  1. And I wonder, what happens to all the other I have in the form. Say I have a forum I've created, and I want to upload attachment with the rest of the post data. Is there a way?

    Yair Eshel - 29th June 2008 10:02 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site