In my application I have a webservice which must be accessible to all users from my domain (Authenticated and unauntheticated). In my webservice I need to confirm that the request in initiated from a page in my domain. how do I go about instrumenting my
webservice to verify that the request is initiated from my domain? Basically I like ot make sure only my website has access to this service without validating the user.
Theguzu
Member
77 Points
139 Posts
How to obtain the domain calling a web service
Mar 08, 2011 08:47 PM|LINK
Hi,
In my application I have a webservice which must be accessible to all users from my domain (Authenticated and unauntheticated). In my webservice I need to confirm that the request in initiated from a page in my domain. how do I go about instrumenting my webservice to verify that the request is initiated from my domain? Basically I like ot make sure only my website has access to this service without validating the user.
Thanks
jimmy q
All-Star
54108 Points
3578 Posts
Re: How to obtain the domain calling a web service
May 24, 2011 06:30 AM|LINK
If all your want to ensure your website has acess to this web service, why not either
1. secure your web service either
2. add firewall rules to only allow incoming traffic from your web site