开发者

securing iphone + web app

开发者 https://www.devze.com 2022-12-21 21:27 出处:网络
I have an iphone app that retrieves and send data to a server that uses python. What measures could i tak开发者_如何学Goe in order to prevent security risks?

I have an iphone app that retrieves and send data to a server that uses python. What measures could i tak开发者_如何学Goe in order to prevent security risks? I an not handling extremely sensitive data but i wouldn't want people sniffing the contents.

Is using SSL enough to prevent most risks?

Thanks


SSL should be sufficient. It's also a good idea to store the user's password (if you need one to login) inside the Keychain. Btw, don't send anything to the server in a QueryString, always do it with a post, otherwise the SSL won't do much to help you.


If you don't have super-sensitive data, you can also use HMAC messages in order to query your server. I've done this with several projects before.

The message sent to the server may be a little more heavy-weight but is a viable option if you don't want to go with getting a SSL certificate.

0

精彩评论

暂无评论...
验证码 换一张
取 消