How to authenticate client application for trust of messages sent from it

后端 未结 3 384
忘了有多久
忘了有多久 2020-12-10 22:03

The basic question
How do I know that it is my publicly accessible (client) application that is sending my service messages? How do I know that it is j

3条回答
  •  粉色の甜心
    2020-12-10 22:35

    Presumably, your server is creating the web page that the Silverlight application sits in. You could create a short-lived temporary "key" that only that web page contains. When the Silverlight app starts up, it reads this key and uses it. Because the server itself has a constantly changing, very short list of allowed keys, you can be more sure that only your app is accessing your services.

提交回复
热议问题