Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.
Adil edited this page Mar 10, 2016 · 5 revisions

How can I modify the keshif code to load data from a spreadsheet hosted either on our own server or from somewhere other than a google doc?

A: It is possible to use data outside of Google Sheets. The simplest approach is moving your data to csv files hosted at your server. To do this, export each sheet to csv (one csv per table), place it in the web directory, and update your data source to read from a directory instead of google sheets. If you export all the sheets to files with the same names, everything should work without any other change than pointing data source to local files.

How can I use keshif in cases where I need to make sure only authorized people access the data browsers?

A: The data security is controlling who can access/download the (raw) data to the browser. Keshif is just a JS library that works on a web browser, and it can get data through many means, API access, local/remote files, different formats, etc. Data authentication is an issue that Keshif does not deal with. All it cares about is requesting for data. Whether the data is returned, it's up the API / server that hosts the data.

For example, when you host data at Google Sheets, you can set who can access the sheet through Google's interface, and only those people would be able to see the browser. Others would see an error telling "data failed to load". This is authentication managed by Google.

Or, you can host keshif at localhost, and load data from localhost. That gives security over who can access the data: the local machine only.

Or, you can implement any backend on the server. Let's say "myserver.com/give/me/data" is the data endpoint. This can check if the user is authenticated (cookies, request parameters, etc.) before it returns the data.

Clone this wiki locally