Compared with the community native version of MongoDB, DDS has made a series of enhancements to address the growing security challenges. Unlike the community native version, DDS uses a default security policy that requires authentication when connecting to the database; otherwise, the database cannot be used. This improvement ensures the security of DDS.
Connection url with authentication:
mongodb://<username>:<password>@<instance_ip>:<instance_port>/<database_name>?authSource=admin
Connection url without authentication:
mongodb://<instance_ip>:<instance_port>/<database_name>
After the database instance is created, the system will create a default administrator user root, but the customer needs to specify a password and meet the password complexity requirements.