Anonymous read with amazon simpledb

I would like to request simpleedb directly from the client using javascript. My application is distinguished by its readability, and I probably do not forward the request through my application server. Is it possible to execute a select query without authentication?

I could set up an authentication server, but it's rather inelegant, because it will just say yes to every read request and present another bottleneck / speedbump / point of failure.

Do other cloud db features (microsoft, google) have this feature?

+4
source share
3 answers

AWS IAM (Identity and Access Management) " ". AWS , AWS Token Vending Machine , iOS Android GitHub. - / JavaScript.

: - . ( 36 ). SimpleDB , .

  • - ( )
  • Token , AWS
  • simpleDB API ; SimpleDB

AWS

{
  "Statement": [
    {
      "Action": ["sdb:GetAttributes", "sdb:List*", "sdb:Select*"],
      "Effect": "Allow",
      "Resource": "*"
    }
  ]
}

SimpleDB. AWS (. ).

-

, :

  • token N , N + fudge == token expiry
  • token S3 ( )
    • maxAge fudge
  • token URI
  • token, SimpleDB
+3

. , . .

: JavaScript , .

+1

An authentication server is required, you can use EC2 for this.

0
source

All Articles