Is there any way to make a cypher script not human readable for any user?

Hi Everyone,

Greetings !!

I want to know the possibility of making a cypher script not human readable for any user , if user tries to do a cat of the cypher script in linux?

Thanks in Advance !!

Regards
AM

Hello @akshat.mittal :slight_smile:

What is the aim of this? Maybe there is another way to hide things that should not be seen.

Regards,
Cobra

Hi Cobra,

Aim of doing this is to hide the code from other persons apart from developer.
And to avoid to expose the credentials details like username and password if mentioned in cypher.

Regards
Akshat

Doing a cypher script is not the right approch I think, you should use for example a Python script to make everything and another file to store credentials. It will be more easier to transform the Python script and protect your credentials.

Hi Cobra,

I am not talking about approach.
I want to know if it can be done in cypher or not.

Regards
Akshat

1 Like

To my knowledge, it's not possible but you can protect the file with a password.

Ok !!!
what's the way to protect the cypher file with password?

I never did it but I know it's possible. Just type this on Google: linux protect file password

Actually I want to get this done in Cypher file only,
But as you said it is not possible in Neo4j to encrypt the file.

So we can drop this discuss here !!

Thanks !

Regards
AM