Website runs all in S3, no server.
blog.tomevslin.com
blog.tomevslin.com
The policy dictates what can be stored in the bucket, and the signature validates the policy so folks don't tamper with it.
Here's the site in question: http://s3.amazonaws.com/broadbandwiki/broadbandwiki.html
You could add SimpleDB to the mix to store hash data using similar practices.
Pretty cool imho. Libraries like jquery can easily be used to create the C in MVC anyways. Model in SimpleDB, C in Jquery, and V (plus any bin files) in S3.
Base64 decode the policy input field on the postForm and you get:
{
"expiration": "2009-01-01T12:00:00.000Z",
"conditions": [
{"bucket": "vtabroadbandwiki" },
{"acl": "private" },
["starts-with", "$key", ""],
["starts-with", "$Content-Type", "text/xml"],
]
}
http://doc.s3.amazonaws.com/proposals/post.html#Access_Contr...Basically each user is given a presigned authorization token that lets them upload certain files to their bucket. Other users only have read access to the index. The clever trick is that the key is used to store the publicly available data like the latitude and longitude.
It works out well in his case, but it's not very useful generally.