8

I know this is completely 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 completely 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_

1 Answer 1

3

Take a look at the mongodb http interfaces list. Start a mongodb, start the sever, request/modify a data from that server using ajax.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.