跳转到主内容

基于访问的枚举 (ABE) 是如何工作的?

Views:
294
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用于

  • ONTAP 9
  • Data ONTAP 8 7-Mode

问题解答

  • 在 CIFS 共享上启用基于访问的枚举 (ABE) 时,没有访问其下方文件夹或文件的权限的用户不会在其环境中看到这些内容。
    • 文件和文件夹的实际权限不会更改,只有可见性会更改。
    • ABE 不会隐藏共享本身,它只会根据访问权限隐藏在其下创建的文件夹/文件。
    • 如果用户或自动化系统依赖于所有文件和文件夹的可见性进行索引或管理,ABE 可能会中断这些操作。

注意: 每个 SVM 没有全局选项,如果需要,每个共享必须在其上启用 ABE

  • 本地管理员仍有不受限制的枚举
    • BUILTIN\Administrators 组的成员被授予对本地系统的无限制访问权限
    • 因此,此组中的帐户将能够枚举整个目录
  • 默认情况下,ABE 处于禁用状态
  • 启用 ABE
    • 适用于 Data ONTAP 8 7-Mode

cifs shares -change sharename -accessbasedenum

  • 适用于 ONTAP 9

::> cifs share properties add -vserver <vserver> -share-name <share> -share-properties access-based-enumeration

  • 禁用 ABE
    • 适用于 Data ONTAP 8 7-Mode

cifs shares -change sharename -noaccessbasedenum

  • 适用于 ONTAP 9

::> cifs share properties remove -vserver <vserver> -share-name <share> -share-properties access-based-enumeration

追加信息

  • 如果使用 accessbasedenum 选项创建 CIFS 共享 TEST

共享 \FILERTEST 已与用户 DOMAINuserA 映射

已创建名为PROVA的文件夹,权限为Owner/ Full Control,用于DOMAINuserA

  • 其他用户(如 DOMAINuserB)可以查看共享 TEST,但不会看到共享下的文件夹 PROVA \FILERTEST。这是预期的行为。
  • 有一些选项可以隐藏 CIFS 共享 TEST,例如:

使用 -nobrowse 选项禁用 CIFS 共享浏览

创建共享并将 $ 符号附加到名称末尾。

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.