I have two web-servers. One runs a ASP webservice and the other runs a website, where I use javascript to access the webservice.
My problem is, that I don't want to keep the webservice access open for everyone in the www and limit the access to several applications. It shouldn't be allowed to access the webservice from another website.
There is still the probability to allow the access from other websites or apps, which should be considered here.
Do you have any thoughts for approaches to restrict the access to the webservice?