How to securely include secret key/signature in iOS/Cocoa apps

后端 未结 7 1400
天涯浪人
天涯浪人 2020-12-14 02:35

I want to include a secret key into an iOS app so that the app can \"prove\" to a certain server that a request is coming from the app itself and not some other system. I k

相关标签:
7条回答
  • 2020-12-14 03:10

    An usual answer is implementing "hand-shaking" protocols, where the server sends a "challenge" and the client must provide a valid answer.

    This enables a lot more security than a hardcoded answer, but require a smart algorithm (avoiding standard hashes for instance).

    0 讨论(0)
提交回复
热议问题