In some cases, it may be preferable to have MongoDB more secure than it is by default. While MongoDB isn't configured in our application to work with authentication, it can be locked down so that connections outside of the server are by default, rejected. Since all connections to Mongo are proxied directly through the Web Server, this will not interfere with users who are externally accessing GlobalCapture or GlobalAction.

Performing this action is fairly simple, as it requires only a very small modification of the Mongo Configuration file.

Step-by-step guide

  1. Stop Mongo DB service.
    1. You can do this from the Windows Services panel and stopping the service named "MongoDB".  
  2. Open the mongod.cfg File in a text editor (located in the Getsmart directory, by default, this is C:\GetSmart).
  3. Modify the mongod.cfg to match your environment as shown in the examples below.  
  4. Save your configuration file.
  5. Restart the MongoDB service.

GlobalSearch and GlobalCapture:

logpath=C:\GetSmart\mongodb\logs\mongo.log
dbpath=C:\GetSmart\mongodb\data
journal=true
bind_ip=127.0.0.1
CODE

GlobalCapture Standalone:

net:
    bindIp: 127.0.0.1
systemLog:
    destination: file
    path: C:\GetSmart\CE_MongoDB\\logs\mongo.log
storage:
    dbPath: C:\GetSmart\CE_MongoDB\\data
CODE


Please Be Advised

This CANNOT be performed if your environment is running multiple GlobalCapture Servers or a stand-alone GlobalForms 10 server. This should ONLY be performed on a server where all GlobalCapture/GlobalSearch/GlobalForms applications reside