How to validate the origin of a web service invokation

前端 未结 6 1497
猫巷女王i
猫巷女王i 2021-01-01 18:06

Suppose you have a mobile application (Windows Phone or Android) that connects yo your back-end using SOAP.

For making it easy, let\'s say that we have a Web Service

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-01 18:27

    If you want to verify that a user is both mobile and who they say they are then the best way is to leverage the network. Send a push notification with the hashed key that you want the user to use via:

    • APN for iOS

    • something like urban airship for windows phone

    • GCM for Android.

提交回复
热议问题