C
Cyphos
Hi Guys,
I have been really trying to get my mind around this AJAX, and remote
scripting concept. Good stuff, though I have a security concern.
I have an ASP.NET Web Service, which a couple methods. I'm calling the
methods from JavaScript using the XmlHttpRequest object - works
beautifully! However, I don't want any other applications to be able to
call this web service, unless they are authenticated to do so.
How do I implement this? I know that I can setup authentication in the
web.config file of the web service, but that would just mean sending
the username and password from my JavaScript, which is available for
anyone to see.
Any ideas? Thanks.
I have been really trying to get my mind around this AJAX, and remote
scripting concept. Good stuff, though I have a security concern.
I have an ASP.NET Web Service, which a couple methods. I'm calling the
methods from JavaScript using the XmlHttpRequest object - works
beautifully! However, I don't want any other applications to be able to
call this web service, unless they are authenticated to do so.
How do I implement this? I know that I can setup authentication in the
web.config file of the web service, but that would just mean sending
the username and password from my JavaScript, which is available for
anyone to see.
Any ideas? Thanks.