MongoDB和Ldap是同一个概念吗?
由于Mysql、sql server、postgre sql等基本上是同一概念(rdbms)的不同实现,我想知道LDAP和MongoDB/CouchDB等之间是否存在相同的关系,或者LDAP还有更多的东西吗?
As Mysql, sql server, postgre sql etc are basically different implementation of the same concept (rdbms), I am wondering does the same relationship exists between LDAP and MongoDB/CouchDB etc, or is there something more into LDAP?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
LDAP
MongoDb
CouchDb
LDAP
MongoDb
CouchDb
最重要的是,LDAP 数据库与其他 noSQL(如 MongoDB 或 CouchDB)不同,是非常灵活的 ACL 系统。
例如,您可以使用存储在同一树中的组和用户授予对树中对象的访问权限。事实上,您可以使用对象本身来针对 LDAP 服务器进行身份验证。
恕我直言,允许客户端直接从 Internet 访问 LDAP 树而无需编写一串代码是完全安全的。
另一方面,LDAP 的设计有点过时,并使用复杂的方法来提供琐碎的操作。主要是因为这个事实,我一直在幻想有人在任何现代 noSQL 数据库中实现类似 LDAP 的 ACL。事实上,如果无法直接从浏览器获得授权,为什么还要创建基于 JSON 的数据库呢?
The most important thing, which differs LDAP databases from other noSQL, like MongoDB or CouchDB, is very flexible ACL system.
For example, you can grant access to the object in the tree, using groups and users stored in the same tree. In fact, you can use objects itself to authenticate against the LDAP server.
IMHO, it is completely safe to allow clients to get access to the LDAP tree directly from the Internet without writing a string of code.
In the other hand, LDAP has a bit archaic design and uses sophisticated approaches to provide trivial operations. Mainly because of that fact, I'm slipping and dreaming, about someone implemented LDAP-like ACL in the any of modern noSQL database. Indeed, why making JSON-based database, if you cannot be authorized against it directly from the browser?
SCHEMA 是最大的差异之一。
LDAP 数据存储具有单个系统范围的可扩展模式(在现实世界中,这是 LDAP 服务器复制的致命弱点...)。
NO-SQL 具有“无架构”(或者-每个对象任何架构,随心所欲地查看......)。
SCHEMA is one of the biggest differences.
LDAP data stores have a single system-wide extendable schema (which in real-world, is the the Achilles heel of ldap servers replication...).
NO-SQL has 'no schema' (-or- any schema per object, look at it however you want..).