by bl4k · 16y ago · 0 comments
I lol'd. Mind if I use that?
MongoDB is harder to secure and filter because you have all of Javascript to worry about, rather than just SQL (and where most servers can escape arguments themselves through prepared statements etc.).
SQL databases are also well understood (for eg. in MS-SQL I can stop the remainder of the statement from executing with '--'). MongoDB with its JS engine is still a big unknown.
"...secret squirrel double-plus alpha unrelease..."
Mind if I use that? It would be a terrific title for an animal fighting game I've been itching to make.
for eg.
http://www.php.net/manual/en/mongodb.execute.php
"This method allows you to run arbitary JavaScript on the database."