4 ms·
If you're letting users query against a collection using a fairly arbitrary filter, then not having something to ensure they are authorized to view (or update,
by mnarayan01 10y ago
If you're letting users query against a collection using a fairly arbitrary filter, then not having something to ensure they are authorized to view (or update, etc.) the results is almost certainly a mistake. Also describing $gte as a "command" seems misleading; if you could use $where in embedded queries it would maybe be a different story, but since I don't think you can, this seems hyperbolic.