I know this is completely unsafe because the user will control the credentials. But in the application that I create, I do not care that it is absolutely unsafe.
Is there a way to open a connection on MongoDb using client-side JavaScript? The JavaScript driver on the Mongo site is for NodeJS only.
Thanks,
Fred_
source share