最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Acessing MongoDB on the Client-Side using JavaScript - Stack Overflow

programmeradmin3浏览0评论

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 badges
Add a ment  | 

1 Answer 1

Reset to default 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.

发布评论

评论列表(0)

  1. 暂无评论