Giter Site home page Giter Site logo

Put basic login/pw for mongodb about das HOT 5 CLOSED

vkuznet avatar vkuznet commented on July 17, 2024
Put basic login/pw for mongodb

from das.

Comments (5)

vkuznet avatar vkuznet commented on July 17, 2024

valya: The MongoDB docs, http://www.mongodb.org/display/DOCS/Security+and+Authentication, recommend to run MongoDB in trusted environment. This is what we have by default in cmsweb cluster. I need to understand if it is acceptable.

from das.

 avatar commented on July 17, 2024

lat: vocms53 is in firewalled territory where accesses are allowed only from front-ends and the host itself. Fortunately this machine isn't one of the reallocated systems with high ports available to half the world.

The access to MongoDB from front-end does concern me, although it's not a direct risk. Is it possible for you to configure MongoDB to listen only on localhost interface, not on 0.0.0.0 = all interfaces? This would be the exact reverse we've done to our own services, as you might recall.

So as long as DAS + MongoDB will run in restricted port range actually verified not to be accessible from other hosts, and MongoDB itself is not listening on outward facing network interfaces, you don't need to add extra layer of security in front.

(Copied from HN, as it was possibly relevant to other people there too.)

from das.

vkuznet avatar vkuznet commented on July 17, 2024

valya: MongoDB provides this flag:

--bind_ip Specifies a single IP that the database server will listen for

which we can use to setup which host it should listen to. In our case it should be localhost, since DAS cache server runs on the same node as MongoDB. And as we agreed (I hope we're) I will run MongoDB on specific allocated port range.

from das.

 avatar commented on July 17, 2024

lat: Yes, that sounds what you want: --bind_ip 127.0.0.1 or localhost, depending on whether it wants address or name is ok.

from das.

vkuznet avatar vkuznet commented on July 17, 2024

valya: MongoDB is installed with --bind_ip 127.0.0.1.

from das.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.