在这次新的更新中,Neo4j 的核心有不少变化,这真的很令人兴奋。
以前的 Neo4j 版本中缺少的一件事是让用户使用 Web 界面的能力。好吧,如果您不介意他们能够删除所有内容,或者您不介意将整个数据库对所有人(包括您自己)设为只读,他们就可以使用它。
现在在 3.x 中有解决方法吗?我看到您对 Web 界面进行了一些非常棒的改进(似乎在所有 session 和 YouTube 视频中都没有受到关注) - 但是我不能让我的用户使用任何这些很棒的东西,因为他们可能 match (n) detach delete (n)
。
谢谢! :)
最佳答案
如果您可以访问企业版或不介意 neo4j-ha 的 AGPL 许可证,那么您可以创建一个只读从站。
看看neo4j high availability documentation用于配置。
特别是您希望设置以下属性:
# Only allow read operations from this Neo4j instance. This mode still requires
# write access to the directory for lock purposes.
dbms.read_only=true
和
# Whether this instance should only participate as slave in cluster. If set to
# true, it will never be elected as master.
ha.slave_only=true
关于neo4j - Neo4j 3.0 中对读写数据库的只读 Web 访问,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37070585/