Using Charts API behind a firewall

754 views
Skip to first unread message

Robert Baker

unread,
Nov 10, 2015, 1:44:52 PM11/10/15
to Google Visualization API
Hello,

I'm trying to find a solution to where I could access the charts API through a restricted network without having to whitelist the entire google.com domain just to access charts.

I know https://www.google.com/jsapi is used, but are there additional resources that could be whitelisted to only allow the chart features?

I'm aware that the ToS prevent offline use, but opening all of google.com for just the chart API is not feasible on this network. Is there a workaround that others have found, or a subdomain that can be accessed just for the APIs?

Sergey Grabkovsky

unread,
Nov 10, 2015, 1:51:59 PM11/10/15
to Google Visualization API
Hi Robert,

In order for charts to work via jsapi, the following URLs need to be whitelisted:
google.com/jsapi (for obvious reasons)
google.com/uds/* (this is what actually serves the javascript code)
ajax.googleapis.com/ajax/static/modules/gviz/* (this is where we store HTML tooltip CSS)
gstatic.com/charts/* (this is where we store static content, like GeoChart maps)

However, you should be aware that going forward, the recommended way to load charts is by using frozen versions (we will soon add support to load the 'latest' frozen version as well). To support frozen versions, you should only have to whitelist: gstatic.com/charts/*

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/11eeff49-fe1f-4581-b487-15e699257308%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
unnamed.gif 
Sergey Grabkovsky | SWE  | gra...@google.com
Reply all
Reply to author
Forward
0 new messages