可以在 Windows 中禁用 UNC 路径吗?

发布于 2024-07-27 05:06:30 字数 266 浏览 2 评论 0原文

我们正在尝试锁定终端服务器,并希望删除商业软件包接受 UNC 文件路径的能力,即。 然后只能使用 Windows 驱动器盘符输入应用程序中的路径。

在Windows中有什么办法可以做到这一点吗?

我们可以仅禁止应用程序使用 UNC 路径吗?

我们可以禁止整个终端服务器会话使用 UNC 路径吗?

目的是允许应用程序仅写入某些目录(如终端服务器会话中映射的目录)。 目的是防止文件输出到用户有权访问但未映射到终端服务器会话中的目录。

We are trying to lock down a Terminal Server, and want to remove a commercial package's ability to accept UNC file paths, ie. paths in the app can then only be entered using the windows drive letters.

Is there any way to do this in Windows?

Can we disallow UNC paths for just the app?

Can we disallow UNC paths for the entire Terminal Server session?

The intention is to allow the application to only write to certain directories (as mapped in the Terminal Server session). The aim is to prevent the output of files to directories that the users have access to, but are not mapped in the Terminal Server session.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

贪恋 2024-08-03 05:06:30

查看 GPO 中的“用户配置”>“管理模板”>“开始菜单和任务栏”>“从开始菜单中删除运行菜单”(启用还是禁用?)。

如果启用,这将阻止用户在 IE 地址栏中输入 unc 路径

Look in the GPO under User Configuration>Administrative Templates>Start Menu and Task Bar>Remove Run menu from Start Menu (enabled or disabled?).

This prevents the user from entering in a unc path in IE address bar if enabled

孤单情人 2024-08-03 05:06:30

据 windowsitpro.com 报道,

您必须编辑 NoRun 值(类型为
双字)中
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
或者
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
注册表子项。

http://windowsitpro.com/Articles/Print.cfm?ArticleID=25421

但正如 Richard 所说,这更多的是 serverfault.com 的问题。

According to windowsitpro.com,

You must edit the NoRun value (of type
DWORD) in the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
or
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
registry subkey.

http://windowsitpro.com/Articles/Print.cfm?ArticleID=25421

But as Richard said, this is more of a serverfault.com question.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文