Thread Safety for Apps

Source: Internet
Author: User

In general iOS two is enough, but wirelessly's third, iOS is also to note:

First: The network, others think that doing data requests with post will be more secure than GET request, but this is wrong, POST request although it seems that your request is on the request body, not as easy to see as get, but that is very easy to use a script to see the actual request. So we need to encrypt the content we requested. At first, the most common way to encrypt is Base64, the back of the better is MD5, but millet 2-3 years ago, millet with MD5 encryption method by others Big data cracked, the back millet use MD5 add salt and time stamp such a way, But this approach can be easily cracked as long as others know that your encryption is the same way. Now the more popular and more secure encryption is the one is HTTPS to establish a secure channel, the other is the use of symmetric encryption and asymmetric encryption in conjunction with such a way, of course, very few companies will also write their own HTTP protocol, but this is not suitable for the general company

Second: Local data cache. Local cache Novice Words he will be the user's account password directly unencrypted directly through the archive, preferences or write files in one of the ways to directly store the user's account password, this way is and wrong, because if the user to get your phone or can hack your account password, so we will use SSH Key Apple-native encryption, this encryption is very safe, at least for the vast majority of companies is very safe, after all, the FBI can not crack, but also put Apple in court

The third is a way to disrupt the code, because now iOS has a pay-per-use tool that can decompile the code through someone else's app, but Android often disrupts the code, so that even if someone doesn't know what to write, it's the way I listen to what my Android colleague says, We rarely do this for iOS.

Thread Safety for Apps

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.