Ask HN: ODBC driver using websockets?
Does a javascript ODBC driver exist that works over websockets? If not, is it feasible?
I'd like to be able to send queries to an SQL database directly from the browser, with no proxy.
I'd like to be able to send queries to an SQL database directly from the browser, with no proxy.
4 comments
[ 6.3 ms ] story [ 32.3 ms ] threadThe concept of an ODBC driver being run directly from Javascript if not to something like a "sandboxed" instance of SQLight is a bit worrying on security grounds.
Alternately you are trying to access local personal data using a remote app - so you need Google's or HTML5's support for a local database (SQLight I think but in a wrapper).
NOTE: I wouldn't use this approach, and there's probably better ways, but I can see the potential benefits of it.