Questions tagged [clientaccesspolicy.xml]

clientaccesspolicy.xml file enables cross-domain access in Silverlight

60 questions
1
vote
0 answers

What controls the port Silverlight will use for requesting clientaccesspolicy.xml?

My silverlight app calls our webservice, located at a different domain, using an address of the format :// for example posting to server:5678/ourservice/comment Using fiddler, I saw that silverlight requests…
JOG
  • 5,590
  • 7
  • 34
  • 54
1
vote
2 answers

Silverlight wcf connection error

I'm about a month away developing my silverlight application (this is my first). Everything went rather smoothly until today, when out of the blue I started getting this message: An error occurred while trying to make a request to URI…
David
  • 261
  • 1
  • 17
0
votes
1 answer

Silverlight 4: forbid isolated storage removal via clientaccesspolicy.xml

I am trying to find some information how to organize permissions for silverlight application via clientaccesspolicy.xml. Main question : how can I affect how isolated storage works via clientaccesspolicy.xml? Can I disable isolated storage or forbid…
0
votes
1 answer

Using Google geocoding API from Silverlight

I've seen many posts about the Google Geocoding API, described here: http://code.google.com/apis/maps/documentation/geocoding/ but none of them tries to use it from Silverlight. I'm using SL4, I'm trying to geocode an address (going from address to…
Telaclavo
  • 2,529
  • 2
  • 17
  • 15
0
votes
1 answer

Attempting to access SOAP Service from Silverlight App, clientaccesspolicy.xml, crossdomain.xml

I am getting the dreaded "attempting to access a service in a cross-domain way without a proper cross-domain policy in place" error when attempting to call a soap service. When I look at fiddler, it says 2| 404 | HTTP |…
Josh
  • 1,648
  • 8
  • 27
  • 58
0
votes
2 answers

Very confusing Silverlight, Amazon S3, and clientaccesspolicy.xml problem

This is an odd one. I'm using Amazon S3 for storage of files in my Silverlight 4 application. Because of the file restrictions associated with the REST API and S3 (files have to be < 1mb for REST), I'm trying to get the SOAP calls to work. I…
0
votes
3 answers

Cross Domain Access Policy not working for silverlight hosted in IIS

My silverlight application is currently hosted in IIS and is set up to only use HTTPS. the silverlight web project is the root of the IIS website and the webservices project is a seperate web application mapped to /Services. I can navigate to my…
Midimatt
  • 1,114
  • 2
  • 17
  • 35
0
votes
1 answer

Port Listener Command Injection

My IBM appscan result shows 139 vulnerabilities Port Listener Command Injection. I am using PHP codeigniter framework. Parameter: status Risk(s): It is possible to run remote commands on the web server. This usually means complete compromise of the…
NIM
  • 1
  • 4
0
votes
1 answer

CommunicationException occured due to the fact that my client access policy file was not accessed

I have the a WCF service that is hosted in a console application. Here's the app.config file:
the_drow
  • 18,571
  • 25
  • 126
  • 193
0
votes
1 answer

Serving clientaccesspolicy.xml through WCF Rest service, while hosting on IIS

I am building a simple HTTP file server. I have an asp.net web application that exposes a WCF service (FileService.svc). The service contract is: [OperationContract] [WebGet(UriTemplate = "/*")] Stream HandleFileRequest(); The service…
Yaron Levi
  • 12,535
  • 16
  • 69
  • 118
0
votes
2 answers

Silverlight access Azure Table REST - clientaccesspolicy.xml?

Is it possible to have a Silverlight client app directly access the Azure Table service REST endpoints? Putting aside concerns about how to sign the requests without leaking the shared access key, Silverlight won't access the Table endpoint because…
0
votes
1 answer

Silverlight to self hosted WCF

I have a silverlight application which has a WCF in it. Since it is a self hosted WCF I've understand I have to add an interface something like: [ServiceContract] public interface IPolicyRetriever { [OperationContract, WebGet(UriTemplate =…
gln
  • 1,011
  • 5
  • 31
  • 61
0
votes
3 answers

C# silverlight - WCF calls

I have a silverlight application which has some calls to a WCF service. Both silverlight and WCF are located on the localhost. when I run the silverlight application but it fails in the calls to WCF in communication exception. Iv'e understand fron…
gln
  • 1,011
  • 5
  • 31
  • 61
0
votes
2 answers

My silverlight application is still trying to connect to localhost after being published to a remote server

I'm developing a silverlight application that uses a web service. It works just fine when I run it on my local machine but when I publish it to a remote server, it fails because it is looking for a a crossdomain.xml policy at localhost:4689 instead…
0
votes
3 answers

How do you build a clientaccesspolicy.xml for this API?

I have a RESTlike API that I want to access from Silverlight. It needs to support the following: All requests are made over SSL Allow GET, POST, PUT, DELETE (or just any) Allow any request headers Allow requests from any host Pretty much wide…
John Sheehan
  • 77,456
  • 30
  • 160
  • 194