如何防止在 Windows Server 2003 或 Windows Server 2008 中创建非法文件和文件夹名称

发布于 2024-07-29 19:30:46 字数 506 浏览 2 评论 0原文

目标是防止在 Windows 2003/2008 文件服务器上创建非法文件和文件夹名称。 我们从诸如 How do I检查给定的字符串在 Windows 下是否是合法/有效的文件名? 出于某种原因,文件系统允许创建超出 Windows 限制的非法文件/文件夹字符和路径。 我需要回答以下问题:

  1. 如何删除电缆 创建文件或文件夹创建于 NTFS 包含无效的 人物?
  2. 你可以删除 Windows 中的 POSIX 子系统需要修复 这个问题?
  3. 怎样禁用 8.3 dos名称创建因素会导致这个问题吗?
  4. 是否有任何这些 修复了阻止 Linux 客户端 创建 Windows 兼容文件?

Preventing illegal file and Folder name creation on a Windows 2003/2008 file server is the goal. We know from articles like How do I check if a given string is a legal / valid file name under Windows? that for some reason the file system allows creation of illegal file/folder chacters and paths that exceed the limitations of Windows. I need the following question answered:

  1. How to remove cabability to
    create file or folder creation in
    NTFS that contains invalid
    characters?
  2. Can you remove the
    POSIX subsystem from Windows to fix
    this issue?
  3. How does disabling
    8.3 dos name creation factor into this issue?
  4. Will any of these
    fixes prevent linux clients from
    creating windows compliant files?

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

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

发布评论

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

评论(1

灼疼热情 2024-08-05 19:30:46

我们的应用程序有一个模块,它强制执行基于最小公分母思想的命名规则,通常使用 Windows 规则。 我们的大多数客户都使用 Windows,因此这对我们来说不是什么大问题。 少数人使用 *nix,他们勉强接受这些限制。

Our app has a module that enforces naming rules based on the lowest-common-denominator idea, usually using Windows' rules. Most of our clients use Windows so this isn't much of an issue for us. A few use *nix and they grudgingly accept the limitations.

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