On May 10, 2:05 pm, martin sekel <[email protected]> wrote: > You can't hide JavaScript per se as it gets compiled and is required > by the client side browser to refer the google map gadget. > > You can however possibly pack or encode the JavaScript.
You can. But the browser still has to fetch the tiles, so the location that request was directed to would appear in something like Firebug (other tools are available too). You could implement some sort of server-side check to verify where the request came from (referer check, cookies, custom key...) which makes it more difficult to get at the tiles except via your pages. But, once the cracker has worked out what security you're using, it's easy to spoof. And of course the tiles themselves can be harvested from the browser anyway. There's no point in hiding data which the browser needs. Any such "security" can always be circumvented. -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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-api?hl=en.
