1

I am using Neo4J REST-services and passing encrypted username and password as a part of authentication header. But any other person will have access to my username and password as it is in javascript file.

Any suggestion on how can I protect my Neo4J credentials.

1
  • any other person will have access to my username and password as it is in javascript file could you elaborate on that? Post some code, please. Commented Nov 19, 2015 at 18:17

2 Answers 2

1

As you would do with any other cred, you would store it externally in a config server or environment variable.

That's how all cloud PaaS solutions do it too. So it will only be visible to your process.

Sign up to request clarification or add additional context in comments.

Comments

0

If you are using only JavaScript client without any your own backend there is no way to hide them.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.