简体   繁体   English

Neo4j 加密

[英]Neo4j encryption

How I can encrypt a Neo4j database?如何加密Neo4j 数据库?

For example if I have a small database only two nodes and one relationship, Node (Tom:person) and Node (ABC: company) and the relationship is Employer and I have this query例如,如果我有一个小型数据库,只有两个节点和一个关系,节点(Tom:person)和节点(ABC:company)并且关系是雇主,我有这个查询

Cypher query:密码查询:

MATCH   (Tom:person) - [:EMPLOYER] - > (ABC:company)
WHERE   Tom.name = “Tom”
RETURN   company.name;

I have read about Neo4j encryption and I found the following:我已阅读有关 Neo4j 加密的内容,并发现以下内容:

Neo4j does not currently deal with data encryption explicitly, for scenarios where additional security is desired two approaches are common: Encrypting the filesystem the database sits upon and encrypting the data itself from the application. Neo4j 目前没有明确处理数据加密,对于需要额外安全性的场景,通常有两种方法:加密数据库所在的文件系统和加密来自应用程序的数据本身。

Many Thanks非常感谢

As the explanation states, Neo4J has no built-in encryption.正如解释所述,Neo4J 没有内置加密。 Either encrypt the filesystem or just the data before you insert it.在插入之前加密文件系统或仅加密数据。 The latter one is probably easier if you don't have the resources for a crypted filesystem, but it requires you to write more code.如果您没有加密文件系统的资源,后者可能更容易,但它需要您编写更多代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM