Applies to: Server!
Version(s): 4.1+ - 5.x
Warning:    this articles refers to an older version of our software

One very significant improvement introduced by Server! starting from version 4.1 is the ability to use MongoDB’s authentication.

Our deployment of MongoDB was secure even without authentication, but keeping in mind all possible scenarios our development team has worked hard to add direct support to MongoDB’s native authentication into our software. This article explains how to use the new MongoDB Authentication Utility (installed along with Server! v4.1+ and 5.0+ to enable/disable this feature as needed.

The procedures outlined in this article are suitable for all single-node Server! deployments. High-Availability (HA) deployments will require a little more work.

Enabling MongoDB Authentication

To enable MongoDB authentication for Server!, the first step is to run the MongoDB Authentication Utility. You can find it in the Server! v4 group inside the Windows Start menu:

Once the MongoDB Authentication Utility is run, it will show the current status of your system services and DB authentication.

To enable MongoDB authentication (if it isn't already enabled) please, tick the “MongoDB Security” check-box, type in a strong password of your choice, and push the “Apply Changes” button. Please, be aware that this will restart all your Syncplify-related system services, and your SFTP/FTP(S) server will be down for a few seconds.

Once you push the “Apply Changes” button, you can observe the MongoDB Authentication Utility at work, stopping and restarting your system services.

You’re all set. Your MongoDB is not protected by its own authentication scheme, and all Syncplify-related system services are already using it with the new security features. 

Disabling MongoDB Authentication

Once enabled, you may want to disable MongoDB authentication for Server!… If you wish to do so, you may use the same MongoDB Authentication Utility you originally used to enable it. Simply remove the check-mark from the “MongoDB Security” check-box and push the “Apply Changes” button.