Skip to content

Commit 1220866

Browse files
committed
Update MongoDB readme to remove obsolete data
1 parent 7f022ff commit 1220866

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

database/nosql/mongodb/README.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,6 @@ To disable the message about free monitoring you can run `db.disableFreeMonitori
1010

1111
## Security
1212

13-
By default, MongoDB **does not enforce access control**, meaning that even if you set an admin username and password in the settings of your Pterodactyl server, **anyone will be able to connect to the database without authentication**, and perform any operation.
14-
15-
> :warning: This is why we recommend to expose your MongoDB database only to your local network, if possible
16-
17-
### Enabling authentication
18-
19-
To enable authentification, you need to edit the following lines to your `mongod.conf` file:
20-
21-
```yaml
22-
security:
23-
authorization: "enabled"
24-
```
25-
26-
> :closed_lock_with_key: To learn more about MongoDB security, you can read the [MongoDB Security Checklist](https://www.mongodb.com/docs/manual/administration/security-checklist/#security-checklist)
27-
28-
### Notes specific to the MongoDB 6+
29-
3013
**MongoDB 6+ eggs enable access control by default** in the `mongod.conf` file, meaning that even if people will be able to connect to your database as guests, [they will not be able to perform any operation, apart from nonhazardous commands](https://dba.stackexchange.com/a/292175)
3114

3215
### Disabling authentication
@@ -40,7 +23,7 @@ security:
4023
4124
## Minimum RAM warning
4225
43-
MongoDB requires approximately 1GB of RAM per 100.000 assets. If the system has to start swapping memory to disk, this will have a severely negative impact on performance, and should be avoided.
26+
MongoDB requires approximately 1GB of RAM per 100,000 assets. If the system has to start swapping memory to disk, this will have a severely negative impact on performance, and should be avoided.
4427
4528
## Server Ports
4629

0 commit comments

Comments
 (0)