English 中文(简体)
载从OS到亚马孙S3
原标题:Upload from iOS App to Amazon S3

不要再谈问题:

我的SOS申请有标志。 当用户记录中,有人向我的APIC发出呼吁,允许或否认接触。 如果允许进入,我就希望用户能够将照片上载到他的账户和(或)管理。

随着储存的I ve 带走了亚马孙S3,我觉得,有一个叫作“幻灯”的uck,例如,它含有许多手套。 密码是用户电子邮件和秘密钥匙的斜体。 因此,在我的亚马孙S3桶中,每个用户都有自己的独一无二的夹子。

自2006年以来 我最近刚刚开始与核武器国家合作,这里我的问题是:

建立类似制度的最佳做法是什么? 我想要用户能够把照片直接上载到亚马孙S3,但当然我不能硬打上准入钥匙。 因此,我需要我的APICA来谈谈亚马孙,要求获得某种机会,只有属于提出申请的用户Im的专用手。

谁能帮助我和(或)指导我处理类似问题的一些来源? 不要认为我是头一份,马逊文件如此广泛,我不知道开始研究什么地方。

感谢很多!

最佳回答

http://aws.amazon.com/sdkforios/”

参考:

The AWSiOSDemoTVM and AWSiOSDemoTVMIdentity samples demonstrate a more secure mechanism for transferring AWS security credentials to a mobile client. These samples require a server application, in this case the token vending machine (TVM), which is provided as a separate download. The sample applications register with TVM, either anonymously or with a user-supplied user name and password. The TVM uses the AWS Security Token Service to get temporary security credentials and pass them to the mobile application.

The TVM is available in two forms, one that supports anonymous registration and one that requires a user name and password to register a device and receive security tokens. To download and install the TVM for Anonymous Registration, go to http://aws.amazon.com/code/8872061742402990. To download and install the TVM for Identity Registration, go to http://aws.amazon.com/code/7351543942956566.

http://aws.amazon.com/articles/4611615499399490” AWS 移动应用系统(AWS)

This article discusses an architecture that enables applications running on a mobile device to more securely interact with Amazon Web Services such as Amazon Simple Storage Service (S3), Amazon SimpleDB, Amazon Simple Notification Service (SNS), and Amazon Simple Queue Service (SQS). The architecture discussed uses a "Token Vending Machine" to distribute temporary security credentials to the mobile application.

你的表象可以限制使用S3上的特殊桶,因此,这似乎是最好的选择。

问题回答

进一步澄清Terry Wilcox的回答......

www.un.org/Depts/DGACM/index_spanish.htm http://docs.aws.amazon.com/STS/latest/UsingSTS/Welcome.html AWS STS。

STS是“安全象征性服务”协会。 它使你能够以方案方式创建准入钥匙,并设定具体许可和到期日期。

既然您已经对您的用户表示认可,您可以发出一份意向书,发出一份意向书,以生成仅能接触到该用户的短信。

如果你不支持你的话,亚马孙提供 Java光电视M,你可以很容易地把自己的故事传到爱尔布兰泰。

Relevant AWS articles:
http://aws.amazon.com/articles/4611615499399490 http://docs.aws.amazon.com/STS/latest/UsingSTS/STSUseCases.html#MobileApplication

你可以限制用户使用倍数。 参看Credential Management

2020 - you should use the official Amazon tool: Amplify.

它基本上要求用户对 app(类似于消防基地的比照)进行认证,并以此确保你的联系。

There is a great example here for file uploading here: https://docs.amplify.aws/lib/storage/getting-started/q/platform/ios#initialize-amplify-storage





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签