keyboard-layout-editor/upload-policy.txt
Ian Prest a5055e99d5 Can now SAVE layouts to the server.
Implemented as a POST upload to AWS/S3.
-- Each layout is a separate file; identified by its MD5 hash
-- No real security to protect against malicious users "erasing"
layouts, but S3 offers versioning.

Also:
-- Added save button on the toolbar.
-- Added load/save alert boxes.
-- Added Ctrl+S hotkey to save.
2013-10-14 02:08:29 -04:00

10 lines
No EOL
338 B
Text

{"expiration": "20014-01-01T00:00:00Z",
"conditions": [
{"bucket": "www.keyboard-layout-editor.com"},
["starts-with", "$key", "layouts/"],
{"acl": "public-read"},
{"success_action_redirect": "http://www.keyboard-layout-editor.com"},
{"Content-Type": "application/json"},
["content-length-range", 0, 8192]
]
}