> I have a big KML data file, with lots of cool stuff in it. > > 1) Does the client request this, or does google fetch it, and > integrate it with my map? It seems to me that Google fetches it?
Yes, or maybe no. It all depends on what you are doing. Let's guess that you displaying it on a map using KmlLayer, then yes it does not get requested by the client, but by Google's servers. > 2) I'd like to at least add a little security to this, so that only > registered users of my service can see this data. Any ideas? If google > is fetching it, maybe IP based restrictions on requests for the file? But if anyone attempts to view your top-secret file using KmlLayer, the requests all originate from Google ... Limiting access to Google-originated requests would stop unauthorised people downloading your file directly, but they can still view it, display it on their own maps, and could reconstruct it if they wanted to do so badly enough. I don't think there is any easy way to identify what IPs Google's requests might originate from, that will vary depending on the end- users location and will probably change every week, so it might not be easy at all. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
