title: Limit MongoClient to read only operations
body: <p>Is it possible to connect to MongoDB in a read-only mode?</p>
  
  <p>I'm currently using the driver for Node.js to create a new client with <a href="http://mongodb.github.io/node-mongodb-native/api-generated/mongoclient.html#connect" rel="noreferrer"><code>MongoClient.connect</code></a>:</p>
  
  <pre><code>require('mongodb').MongoClient.connect(url, {
      // options object
  }, function(err, client) {
      // ...
  });
  </code></pre>
  
  <p>I don't see anywhere in the <a href="http://mongodb.github.io/node-mongodb-native/" rel="noreferrer">docs</a> how to create a client in read-only mode.</p>
  
  <p>It is possible? how?</p>
  
  <p><strong>Background:</strong><br>
  I'm building an app which connects to a MongoDB. Other developers in my team extend this app with plugins that consume data. A plugin is supplied with a <code>client</code> object to access the databse. I want to prevent other developers from accidentally making changes to the database.</p>