Silverlight Cross Domain Policies

In a Silverlight application, I want to access the Silverlight.xap page of a file from an HTTP subdomain, but web services access another subdomain to receive sensitive information via HTTPS.

I installed clientaccesspolicy.xml in the root of the subdomain, and it allows silverlight applications to access their services via http, but not https. It gives a cross-domain access error, which it usually issued without client policy.

I know that the browsers themselves have many limitations on mixing http and https. Am I trying to do something that is not allowed?

+3
source share
3 answers

, , "ROOT" , clientaccesspolicy.xml .

If, for example, you have a production environment in which your application is located behind a load balancer that directs traffic, as most large companies do, to your application through a URI, you have a small problem.

Example: http://mydomain.com/MyApplication/ * goes to your server where your application is located.         http://mydomain.com/clientaccesspolicy.xml where the policy exists.

0
source

Source: https://habr.com/ru/post/1696970/


All Articles