Questions tagged [clientaccesspolicy.xml]

clientaccesspolicy.xml file enables cross-domain access in Silverlight

60 questions
1
vote
2 answers

Silverlight trying to access local crossdomainpolicy.xml

I have a Silverlight app that I developed locally, and I'm trying to run it on a Windows 2008 R2 server that I personally setup. Everything smooth and dandy, except that when I try to auth on the app, it tries to look locally for…
Adrian A.
  • 172
  • 1
  • 11
1
vote
1 answer

Silverlight 4.0: Cross Domain Policy Error

I have a webservice and a Silverlight application. I also have a crossdomain.xml and clientaccesspolicy.xml
1
vote
2 answers

When and how to use clientaccesspolicy.xml in Silverlight

I am confused by when and how to use the clientaccesspolicy.xml file in Silverlight. What is it for? Right now, my deployed site (not localhost but the remote server) does NOT have it and I can still access the web site and query the database…
user1234567
  • 603
  • 1
  • 4
  • 10
1
vote
1 answer

Self hosted WCF + Custom UserNamePasswordValidator + Silverlight 4

The code below suppose to run a self hosted with custom authentication WCF Service which needs to provide its services to a Silverlight 4 client (See code below). The result is that the infamous clientaccesspolicy Security Error communication…
1
vote
1 answer

clientaccesspolicy.xml Not Found 404 in Fiddler

I am working on using Google's GeoCode API to return lat/long values of an address that a user enters in a search box. My code seems to be correct, but I am getting a security exception issue. And when I use Fiddler to check the call I can see…
daveskylark
  • 2,724
  • 4
  • 16
  • 30
1
vote
0 answers

how to specify all ports in client access policy file - silverlight

How do I specify a wildcard '*' for the ports in a client access policy file? If I want to specify multiple ports in the following file is there anyway to do this using a wildcard instead of explicitly listing each server:
AwkwardCoder
  • 24,893
  • 27
  • 82
  • 152
1
vote
0 answers

Security Error in Silverlight Application

i have deployed my silverlight app, service and database all in different server. but when trying to run app, got security error. after doing researches, there are mostly the same solution which is about clientaccesspolicy.xml and crossdomain.xml.…
jeliey
  • 21
  • 1
  • 1
  • 6
1
vote
1 answer

How to debug WCF service with Silverlight

I have two solutions, one is the WCF service and the other one is the Silverlight. I would like to use the debugger on both solutions at the same time. The debugger for the WCF service automatically starts a ASP.NET development server. However, I…
Peter
  • 97
  • 1
  • 6
1
vote
1 answer

How can I get my WCF service's client access policy operation to be accessible from the root?

I have the following operation for hosting my client access policy in my WCF service: [OperationContract] [WebGet(UriTemplate = "/clientaccesspolicy.xml")] XElement RetrieveClientAccessPolicy(); public XElement RetrieveClientAccessPolicy() { …
Mike Pateras
  • 14,715
  • 30
  • 97
  • 137
1
vote
2 answers

Silverlight Socket

I am trying to connect a Silverlight client to a socket server and continue to get the following error: An attempt was made to access a socket in a way forbidden by its access permissions. I believe I need to specify a clientaccesspolicy.xml…
Benny
  • 3,899
  • 8
  • 46
  • 81
1
vote
1 answer

Where to place ClientAccessPolicy.xml for Local WCF Service?

I'm trying to create a basic WCF Service and Silverlight client. I've followed the following tutorial: http://channel9.msdn.com/shows/Endpoint/Endpoint-Screencasts-Creating-Your-First-WCF-Client/ Since Silverlight 4 was incompatible with the…
cam
  • 8,725
  • 18
  • 57
  • 81
1
vote
1 answer

What are the security implications of making a clientaccesspolicy proxy workaround?

I wanted to use published GoogleDocs documents and twitter tweets as the datasource of a Silverlight application but ran into clientaccesspolicy issues. I read many articles like this and this about how difficult it is to get around the…
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
1
vote
1 answer

Silverlight client consuming WCF service throws System.ServiceModel.CommunicationException

Please bear with me as I am noob in WCF services/ Windows services. I've created a WCF service hosted in a Windows service. I want to consume WCF service in a Silverlight in-browser application. Below is the code fragment in Silverlight to access…
Tejas Sutar
  • 747
  • 2
  • 11
  • 33
1
vote
1 answer

clientaccesspolicy.xml and subdomain

my site has a subdomain, I use this policy with my silverlight app,
Jeremy Gwa
  • 2,333
  • 7
  • 25
  • 31
1
vote
1 answer

How do I write a secure ClientAccessPolicy.xml file?

I'm using a ClientAccessPolicy.xml file that I think allows pretty much all access to my WCF service:
Mike Pateras
  • 14,715
  • 30
  • 97
  • 137