简体   繁体   中英

Neo4j encryption

How I can encrypt a Neo4j database?

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

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 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.

Many Thanks

As the explanation states, Neo4J has no built-in encryption. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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