Android httppost 使用 HttpClient 到 https URL 安全吗?
我是 android 新手,也是堆栈溢出。
我正在为客户端开发一个android应用程序。在此我想使用android中的httpclient将http post用户凭据发送到https URL。
我想知道发布的用户数据是否通过网络安全地传输到 HTTPS URL。我没有使用任何自签名证书或任何东西,只是 httpclient
提前致谢。
I am new bee to android and stack overflow too.
I am developing an android app to the client.In this i want to do an http post users credentials to a https URL using httpclient in android.
I want to know whether that the posted users data is transfered securely over the network to the HTTPS URL.I am not using any self signed certificates or anything,just httpclient
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用 HTTPS,是的,它是加密的。如果您的应用程序能够正确验证服务器证书,您就可以相当确定您也将数据发送给其预期收件人。
If you are using HTTPS, yes, it's encrypted. If your app is able to properly verify the server certificate, you can be fairly certain you are sending the data to its intended recipient too.
关注这个博客。
http://blog.antoine.li/2010/10/ 22/android-trusting-ssl-certificates/
HTTPS 是不够的,因为您容易受到 MITM 攻击
follow this blog.
http://blog.antoine.li/2010/10/22/android-trusting-ssl-certificates/
HTTPS is not enough as you are vulnerable to MITM attacks