Title: As a security-conscious developer, I have started switching over my apps to be served over only SSL. Whilst this might end up being a costly exercise (e.g. having to proxy images in user generated content), the added privacy and security for my users is justification enough for me.<p>Unfortunately the biggest pain in migrating to SSL are the external API providers — very few of them support or even encourage the use of SSL. And, surprisingly, Google is one of the biggest culprits. I say surprisingly as Google have been very vocal on the use of SSL and have done the most significant real work in reducing the technical overheads of using SSL, e.g. see the awesome work by Adam Langley, an extra-ordinary Googler: http://www.imperialviolet.org/2010/06/25/overclocking-ssl.html<p>I've had to resort to various hacks in order to support various Google services, e.g.<p>* Using server-side API calls instead of cheaper client-side ones.<p>* Using a custom Flash video player and proxying YouTube videos.<p>* Proxying all custom domain requests to a Google App Engine app!!<p>* Using alternative domains, e.g. https://www.google.com instead of http://chart.apis.google.com<p>I am not happy with any of these hacks, but see no other way around the problem. The rare feature requests on the various Google Groups are often followed by either deadly silence or "not supported" responses from Google.<p>e.g. http://groups.google.com/group/google-chart-api/browse_thread/thread/95c463d88cf3cfe4<p>And if you ever want to use Google Maps over HTTPS, then Google would like you to get a Google Maps Premier account which <i>starts</i> at $10,000!! Since when did fundamental security become a premium feature? This seems to be a common trend being adopted by other service providers too, and I'd really like to ask them to rethink SSL as a premium offering. It should be a fundamental feature. Please.<p>In contrast to Google Maps, Bing Maps from Microsoft does offer an SSL variant:<p>* https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&#38;s=1<p>And, although their API is decent enough, I struggled with switching as the current Bing Map tiles are rather washed out and suffer from usability issues.<p>In the end, I ended up coming up with a hack for using Google Maps by loading it on a vanilla HTTP domain opened via `window.open` from an HTTPS domain and using `window.postMessage` to communicate between the two windows. This unfortunately won't work in older browsers like IE6, IE7 and Safari 3.x, but works in enough other browsers (IE8+, Firefox 3+, Safari 4+, Chrome) to just about be workable.<p>I really really really would rather not have to come up with all these workarounds and fragile hacks. And I can't imagine that I am the only developer having to experience this masochism.<p>In an ideal world, there would be a concerted effort to get <i>all</i> service providers to start offering HTTPS APIs, but Google seem like a good starting point. They've already got great technical support for SSL on their Front End (GFE). And, as can be seen by Google Maps Premier, they already have support for SSL in many apps, and it's clearly a business decision holding back uptake:<p>e.g. http://code.google.com/p/gmaps-api-issues/issues/detail?id=591<p>And since a substantial number of Googlers read HN, I figured if we could get enough support here, then there might be some very real chance of change from Google. So, if you, like me, would like to see all Google APIs offered over SSL, then please upvote this article. And if you happen to know Googlers, then please ask them to try and do something about this issue if they can.<p>Thanks!
Upvote: