如何限制对 ravendb 管理面板的访问? [英] How to restrict access to admin panel in ravendb?

查看:55
本文介绍了如何限制对 ravendb 管理面板的访问?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行 Raven.Server.exe 时,默认管理面板在 IP:PORT 地址处可见.如何仅限制特定用户访问此面板?

When running Raven.Server.exe by default admin panel is visible at IP:PORT address. How can I restrict access to this panel for specific users only?

推荐答案

Steve,我们将 RavenDB 作为 Windows 服务运行,并使用 Windows 身份验证来控制访问.如果您想使用 Windows 身份验证,您可以将配置设置为仅允许 Windows 组访问.这样您就可以通过控制谁在 windows 组中来限制对用户的访问.

Steve, we are running RavenDB as a windows service and use windows authentication to control access. If you want to use Windows Authentication, you can setup the configuration to only allow access by a windows group. That way you can restrict access to users by controlling who is in the windows group.

<add key="Raven/Authorization/Windows/RequiredGroups" value="WindowsDomain\RavenDBG"/>
<add key="Raven/AnonymousAccess" value="None"/>

这篇关于如何限制对 ravendb 管理面板的访问?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆