简体   繁体   中英

.NET AJAX Enabled WCF Service called from a different website

I have an AJAX-Enabled WCF service on website aaa.com and call this service clientside using code like this:

mySVC.MakeBooking(somedata, onSucccess, onFailed, null);

which works perfectly for me. My question is, can someone from malicious website bbb.com make this call to my server or is the service domain specific?

yes any one can call this service, becuase WCF supports certificates based security, else you can do implement some type of security by you self, like passing some userid or key to identify a valid calling. so that if others are calling same will not be returned any data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM