如何加密iPhone上传和下载信息? [英] How to encrypt iPhone upload and download of info?

查看:145
本文介绍了如何加密iPhone上传和下载信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我的iPhone应用程序使用SSL连接来查询数据库,使用web作为数据源,是否有可能从服务器到iPhone之间来回传递的链接和信息将以无人看到的方式进行加密它。此外,我相信iPhone缓存信息,Web界面可以缓存从设备进出的数据。

If I use SSL connection for my iphone app to query the database using web as the datasource, is it possible that the links and info that goes back and forth from the server to iphone will be encrypted in a way that nobody could see it. Additionally, i believe that the iPhone caches info, the web interface can cache data going to and from the device.

另一个人被告知我:


SSL只是转移应用程序在设备上使用的内容不会因为传送的内容而被加密。如果应用程序不使用缓存,并且使用SSL,那么您可能很安全,简单的事实是几乎所有应用程序在发送数据之前都会缓存数据。因此,您的设备上将有未加密的数据。

SSL is only the transfer, what the app uses on the device is not encrypted just because what is transferred is. If the app uses no cache and you use SSL, you could be safe, the simple fact is that almost all apps cache data prior to transmitting it. Therefore, you would have unencrypted data on your device.

那么如果我想要构建一个使用网络的应用程序,那么我的选择是什么作为数据源,在应用程序中不存储任何内容,并且不使用缓存。我想要所有数据来自和加密。

So what are my options if i want to build an app that uses the web as the datasource, stores nothing on the app, and uses no cache. I want all data coming from and to to be encrypted.

推荐答案

在某些时候,您将从服务器接收数据。那个数据需要放在某个地方,就像在数据缓冲区里一样。这绝对没有办法。如果您使用SSL,则传输过程将被加密。就像您的其他人所说,只要你不明确缓存数据,那么就可以在iOS上保护自己。

At some point, you're going to receive data from a server. That data needs to be put somewhere, like in a data buffer. There's absolutely no way around that. If you're using SSL then the transfer process will be encrypted. As your "other person" said, as long as you don't explicitly cache the data, then that's about as much as you can do to protect yourself on iOS.

我不确定你在这里的期望,否则。

I'm not sure exactly what you're expecting here, otherwise.

这篇关于如何加密iPhone上传和下载信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆