gdbassett / moirai

1 stars 1 forks source link

Parameterize Cypher Queries #15

Open gdbassett opened 11 years ago

gdbassett commented 11 years ago

Technically, right now the server will take any cypher query supplied to the RPC and run it. This is the equivalent of taking strait SQL from a client and running it. The cypher RPC needs to be updated to protect against CYPHERi (i'm making that a thing. right now.). I haven't researched if py2neo or neo4j have some way of parameterizing queries, but we need to find out.

At the very least, we need to filter out queries which update the graph (add, delete, change, replace nodes/edges) as those changes won't get fed back through the pubsub to the other clients.