clientaccesspolicy.xml file enables cross-domain access in Silverlight
Questions tagged [clientaccesspolicy.xml]
60 questions
7
votes
2 answers
Silverlight WCF + SSL security error - crossdomain.xml never requested
(I see several questions related to my problem but none of the solutions work for me as I am encountering this problem in production, not during local development, and I've already tried all of the proposed fixes.)
I have a Silverlight 4 application…

Keith
- 20,636
- 11
- 84
- 125
7
votes
2 answers
Silverlight clientaccesspolicy.xml bug? or design?
In the domain node of a clientaccesspolicy file you can specify a wildcard for a sub domain or protocol, but it would appear not for a port.
Specifically when developing, if the service consumed is hosted on a third party, then access from a local…

UKShots
- 71
- 4
4
votes
1 answer
How to make WebHttpBehavior for ClientAccessPolicy.xml stop stealing/hijacking IIS's root?
I am using a Silverlight application that has net.tcp WCF communications. I would like to self host the ClientAccessPolicy.xml within the ServiceHost and the policy file must be on the root, port 80, as per Silverlight net.tcp requirements (TCP port…

jeoffman
- 1,303
- 10
- 23
3
votes
6 answers
Silverlight cross-scheme access to jpegs denied
I've got a Silverlight4 app that I'm running on https, deployed to Azure. Everything's working except for one small glitch. I've got content in the form of jpg thumbnails and associated zip files with a .gld extension. My app is supposed to…

Michael Conner
- 31
- 1
3
votes
1 answer
Silverlight can't talk to HTTPS web service?
I've got a Silverlight app that talks to an HTTPS web service.
On most machines it works fine, however, on some machines it fails consistently.
On the machines it fails on, I receive a SecurityException when making a WebClient request to the HTTPS…

Judah Gabriel Himango
- 58,906
- 38
- 158
- 212
2
votes
1 answer
How do I put a ClientAccessPolicy.xml file in the root directory of VS11's Local STS?
I am developing a Silverlight Application that uses active authentication to acquire a SAML token from an STS. During development, I'm trying to use Visual Studio's new Local STS, but to do so I need to put a ClientAccessPolicy.xml in the root…

Raymond Saltrelli
- 4,071
- 2
- 33
- 52
2
votes
2 answers
Silverlight: HTTP DELETE and PUT methods with RestSharp
I wanted to access an internal REST API from Silverlight, but it turns out that I am not allowed to use POST or DELETE as the HTTP method for my request.
Doing so always resulted in a SecurityException.
What is the recommended way to use REST apis…

Timm
- 2,652
- 2
- 25
- 34
2
votes
3 answers
How to make HTTP PUT and DELETE work in Silverlight 4
I would prefer to avoid getting into a debate about whether HTTP verbs PUT and DELETE are appropriate or obsolete and focus on the question of actually making Silverlight work when "forced" to use these verbs.
I am trying to create a Silverlight 4…

SonOfPirate
- 5,642
- 3
- 41
- 97
2
votes
1 answer
ClientAccessPolicy file download aborted
I have an ASP .NET 3.5 + Silverlight 3 web site hosted on Win Server 2003.
The url is of the following form:
https://test.website.com:31443
The Client Access Policy has been placed in the inetpub/wwwroot folder.
I have changed the TCP port to 31080…

Vaibhav
- 1,156
- 2
- 12
- 27
2
votes
2 answers
Silverlight WCF netTcpBinding problem
Trying to call a WCF with a netTcpBinding via Silverlight, I am getting the error:
"TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions.. This could be due to attempting to access a service in a…

JontyMC
- 6,038
- 6
- 38
- 39
2
votes
1 answer
Silverlight and clientaccesspolicy.xml
I have a silverlight app hosted on "dev.system-engine.com" which creates an tcp connection connecting to "dev.system-engine.com"
the silverlight app and the policy file are on the "dev.system-engine.com" webserver.
"system-engine.com" and…

Jeremy Gwa
- 2,333
- 7
- 25
- 31
2
votes
3 answers
How to evade Silverlight cross-domain security law?
how to evade Silverlight cross-domain security law?
This point is one that I need to go round
Cross-domain calls - Browser or Client - Allowed when it is configured per client access policy file hosted on server.
Any ways?
Articles?
Libs?

Rella
- 65,003
- 109
- 363
- 636
2
votes
2 answers
Silverlight 5 clientaccesspolicy.xml
I have a Silverlight 5 app that is making requests to a WCF data service over HTTPS on a separate domain (server) hosted via IIS 6 (at say mydomain.com/service.svc).
The silverlight app gets a SecurityException, which I assume is related to not…

user1783084
- 31
- 4
2
votes
1 answer
Silverlight checks above the website root for 'clientaccesspolicy.xml'
We have a strange issue with a silverlight app which seems to centre around the 'clientaccesspolicy.xml' file.
We have a website, which is the default website on IIS7. In the root of this website we have the 'clientaccesspolicy.xml' file.
We also…

dougajmcdonald
- 19,231
- 12
- 56
- 89
1
vote
2 answers
RestSharp in Silverlight 4 application doesn't work
I am using RestSharp in Silverlight 4 application and it doesn't seems to be working.. It always return me ERROR with System.Security.SecurityException.
try
{
client.ExecuteAsync(request, (response) =>
{
if…

thetnswe
- 53
- 4