<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you both for your responses, I'll have to write some php to pull
the file locally, I just hoped there was another way.&nbsp; Thanks!<br>
Jonathan<br>
<br>
Christopher Schmidt wrote:
<blockquote cite="mid:20090902150756.GC11853@metacarta.com" type="cite">
  <pre wrap="">On Wed, Sep 02, 2009 at 02:35:58PM +0000, Jonathan Wolfe wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,

I'm trying to overlay a remote kml file onto the google projection and I 
get: Access to restricted URI denied" code: "1012.

When I use a local file, it works just fine.

Because of security reasons, I cannot set up a proxy server like the FAQ 
suggests.  Does anyone know how to get around this?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Set up a proxy, or move the file. The Javascript Same Origin Policy prevents
access to files that are not on the same 'origin' (host, port) as the HTML
document. If you can't make the client think that the file is local (this
is what a proxy does) or move the file so that it *is* local, then there
is nothing that Javascript can do to help you.

Regards,
  </pre>
</blockquote>
</body>
</html>