开发者

Calling web service from application only

I am working on a game app and I want users to be able to record their score on my database so I could keep track of high scores. How do I restrict the web service to only my application? If I use password anyone can reverse engin开发者_StackOverflow社区eer app and see password.


only store the database password on your server. Use authentication/authorization from the app to your server via https to submit the data to the server. The server would then insert into the db. There are 3 tiers here

  1. The client apps. makes http requests to

  2. The server app. does db inserts to

  3. The database.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜