Reputation: 11
We have a web service which is available to clients who register with us. We get the username, password and the IP/domain of the client during registration. This webservice can be used by the registered clients in their applications. How do we authenticate the client if the webservice call is made through a browser using AJAX request. We are currently authenticating by using getReferrer (which gives us the client domain). Would like to know if there is a better way to handle this authentication.
Appreciate your help in this regard.
Thanks Anil K
Upvotes: 1
Views: 466
Reputation: 16544
One way to secure the web service will require the following steps:
Hope this helps,
Upvotes: 1