Reputation: 11071
Say, if I create a web service serving some data for my mobile application. The data could be anything like stock price or weather. I don't want others to use the web service maybe because the server resource is expensive or maybe the data is confidential.
I believe the URL is not a secret because anyone can use Wireshark to get it. Is there a way to do that?
Thanks,
Upvotes: 2
Views: 67
Reputation: 6656
Well, the answer is simple: Authentication for Web Services
. But unless you provide more information on the language the web service is implemented, it's hard to answer with a concrete example. If the transferred data are confidential, you might want to use a encrypted service (https).
Upvotes: 4