I know this is pletely unsafe to do because the user would have control over the credentials. But in application I'm building I don't really care it's pletely insecure.
Is there a way to open a connection on a MongoDb using client-side JavaScript ? The JavaScript driver on Mongo's website is for use on NodeJS only.
Thanks,
Fred_
I know this is pletely unsafe to do because the user would have control over the credentials. But in application I'm building I don't really care it's pletely insecure.
Is there a way to open a connection on a MongoDb using client-side JavaScript ? The JavaScript driver on Mongo's website is for use on NodeJS only.
Thanks,
Fred_
Share Improve this question asked May 19, 2012 at 12:55 BrainOverfl0wBrainOverfl0w 2771 gold badge3 silver badges13 bronze badges1 Answer
Reset to default 3Take a look at the mongodb http interfaces list. Start a mongodb, start the sever, request/modify a data from that server using ajax.