News for hackers. Stuff that matters.
Re:Database backed websites in pure Javascript; No server si... by gregjor on Wednesday October 13, 2010 @05:23PM (#1788960)
Securing this will be tough. I can't see how exposing SQL and the database schema on the client side, or running a dumb database driver layer on the server is a good idea.
Re:Database backed websites in pure Javascript; No server si... by rdbhost on Wednesday October 13, 2010 @07:36PM (#1789292)
Exposing SQL and the database schema on the client is a good idea, in that it keeps all your code in one place (on the client). The server layer is thin, not dumb. It allows for restricting what queries run under a given database role.