Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

For authentication of MongoDB: How to limit the number of login attempts? How to set session timeout?

I am designing security policies for databases.

Is there any way to limit the number of login attempts to protect DB from brute-force attacks? For example, user have to wait for 2 minutes after 3 falure of loging.

Is there any way to set a timeout for connnection sessions? For example, kill connection session while there is no interaction for 20 minutes.

I hadn’t found them by searching MongoDB documents and search engine. Please show me if anyone knows.

1 Like