How to set authentication model to allow cross-domain access?
-
10-12-2019 - |
Question
How do I change the security settings to allow cross-domain on the same web-server? I have multiple instance or site collections on the same server but want to make sure that web-services to list.asmx can be called from any of the sites on the server.
Solution
There's a discussion on stackoverflow on this topic with an accepted answer:
Best way to handle Cross Domain on SharePoint Intranet w/o server side, silverlight, DBC etc
In a nutshell, you can use crossdomain.xml policy file, JSONP or jQuery.support.cors wrapper for browser capabilities or create a server-side proxy to work around the cross-domain restrictions.
OTHER TIPS
The Lists web service is available from all SharePoint sites.
To access this Web service set a Web reference to
http://<site>/_vti_bin/Lists.asmx.
http://msdn.microsoft.com/en-us/library/websvclists(v=office.14).aspx