Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to avoid exposing password of neo user? #90

Open
diyoyo opened this issue Dec 9, 2022 · 3 comments
Open

How to avoid exposing password of neo user? #90

diyoyo opened this issue Dec 9, 2022 · 3 comments

Comments

@diyoyo
Copy link

diyoyo commented Dec 9, 2022

Hi,
is there another way to avoid having the password in clear text within the index.html file?
It looks very unsafe to me.

I know I could make sure to only use a view only user that has only access to the views we want to show, but that would still not satisfy me enough.

Any help?
Thanks.

@Popotojs
Copy link
Collaborator

Popotojs commented Dec 9, 2022

Hi,
You can create a proxy for the driver on a backend server and only use the credentials there.

@diyoyo
Copy link
Author

diyoyo commented Dec 12, 2022

Could you guide me a little more in that direction please? What is a driver proxy?
Thanks.

@Popotojs
Copy link
Collaborator

I answered a bit quickly, a proxy might be hard to put in place on a backend server as you would have to support the full driver API.

You have other options detailed here:
https://community.neo4j.com/t/protect-the-database-login-credentials-when-working-with-javascript/1052/3

In short you can

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants