Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-22-2019 11:07 PM
Please keep the following things in mind:
Please format code + Cypher statements with the code </>
icon, it's much easier to read.
Please provide the following information if you ran into a more serious issue:
PROFILE
or EXPLAIN
with boxes expanded (lower right corner)08-23-2019 12:34 AM
What is your actual question?
08-23-2019 01:03 AM
If we have sensitive data of person like Credit Card Details, Password, Social Security Number etc, As per some compliance policy we need to mask the data or encrypt the data at database. Neo4j not having features to achieve this. In RDMS Database like MS SQL and Oracle we have build in features. As per neo4j we need to take care by implementing application layer encryption/decryption logic. So to achieve this we can do this apoc user defined function or procedures. I want to understand how achieve this.
08-23-2019 04:00 AM
You can write a TransactionEventHandler (see e.g. https://maxdemarzi.com/2015/03/25/triggers-in-neo4j/) that encrypts certain properties.
However the tx event handlers do not fire when you read data, so you don't have an easy way to decrypt it.
Therefore I think it's better to implement this on application layer.
On approach would be using SDN/OGM. There's e.g. a blog post https://neo4j.com/blog/neo4j-data-encryption-ogm/ doing this with SDN/OGM. Take care - the blog post does use an older version of SDN/OGM.
09-12-2019 03:31 AM
@stefan.armbruster : Need your input on following approach
Please provide your review on feasibility of solution.
Thank You.
Ram.
09-12-2019 02:54 PM
Sounds feasible. However I'd prefer to create a seperate project for your two functions. Then just deploy APOC and your project to your plugins folder.
All the sessions of the conference are now available online