简体   繁体   English

Neo4j:Ubuntu在Microsoft Azure上托管了端点保护

[英]Neo4j: Ubuntu hosted endpoint protection on Microsoft Azure

I am trying to host the neo4j server on an Azure Ubuntu VM and opened up the endpoint to enable access from my machine so that I can access the webadmin portal and also debug Asp.net portal code from my machine. 我试图将neo4j服务器托管在Azure Ubuntu VM上,并打开端点以启用从我的计算机的访问,以便我可以访问webadmin门户并从我的计算机调试Asp.net门户代码。

I am however unable to understand how to password protect the access to neo4j endpoint on that VM so that its not open for everyone on the net. 但是,我无法理解如何用密码保护对该VM上neo4j端点的访问,从而使其无法对网络上的所有人开放。 looking for at least a simple protection like: 寻找至少一个简单的保护,例如:

http://<user>:<pass>@myneo4j.cloudapp.net:7474/db/data

Is there any guide on how to setup the neo4j on the Azure cloud that I can refer to. 我可以参考任何有关如何在Azure云上设置neo4j的指南。

I found authentication-extension but unable to understand if this is all i need when setting up connection via Neo4jClient 我发现了身份验证扩展名,但无法理解通过Neo4jClient设置连接时是否仅此而已

Regards Kiran 问候基兰

如果您使用ubuntu,则可以将nginx设置为反向代理: http : //joewhite86.wordpress.com/2013/05/29/secure-neo4j-webadmin-using-http-auth-and-ssl/

Once I downloaded the right version of ' authentication-extension ' and put it in the plugin folder, it was exactly what i wanted, 下载正确版本的“ authentication-extension ”并将其放在plugin文件夹中后,这正是我想要的,

added few users and pointed the URI to database as below : 添加了几个用户,并将URI指向数据库,如下所示:

http(s)://<user>:<pass>@myneo4j.cloudapp.net:7474/db/data . http(s)://<user>:<pass>@myneo4j.cloudapp.net:7474/db/data

and that's all I needed to protect my back end like old fashion SQL server ways. 这就是我像老式SQL Server方式那样保护后端所需的全部。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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