SimpleDB timestamp on insert

我只是一个虾纸丫 提交于 2019-12-04 14:11:13

My recommendation would be to have an intermediate webservice (probably sitting on an EC2 instance) handle all the communication between your iPhone app and SimpleDB.

This solves your immeadiate question because now the intermediate web server can add a consistent timestamp.

But... more importantly this solves the security problem of what to with you AWS keys (now they are living on a server you control). You really don't want to have them embedded in your iPhone app... :-)

Agree with Scrappydog - you'll probably need middleware to secure your AWS keys anyways. Take a look at:

https://github.com/apetresc/awskeyserver

for a proof-in-concept solution. This uses GAE, which can also supply you a stable time source I'm sure.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!