Cloud Storage Gateway supports Windows access-based enumeration (ABE). After you mount a Server Message Block (SMB) share to a local client, you can use ABE to control the visibility of files and folders based on user permissions. This topic describes how to enable Windows ABE.
Prerequisites
- You have created a file gateway and added a cache. For more information, see Create a file gateway and Add a cache disk.
- You have created an OSS bucket. For more information, see Create a bucket.
- You have joined an AD domain. For more information, see Configure AD, LDAP, and DNS settings.
Background information
In a Windows file system, files and folders are visible to users by default, even if the users have no permissions on the files or folders. After Windows ABE is enabled on a CSG instance, shares mounted to a client show files and folders based on user permissions.
When you use Windows ABE, pay attention to the following notes.
- When you enable Windows ABE, the permission information about files or folders is stored in the metadata of the associated OSS bucket.
- We recommend that you set no more than 10 access control entries for each file or folder.
- Be default, the root directories of SMB shares are visible to all users. We recommend that you do not change the permissions of SMB root directories. You can specify permissions to access the top-level folders of SMB shares. Permissions to root directories are saved on the gateway and cannot be saved to OSS buckets.
Windows ABE can be enabled only when you create a share. Perform the following steps to create an SMB share.
After the share is created, you can click the + icon on the right side of the share name to check whether Windows ACL and Windows access-based enumeration are enabled.
For more information about how to use Windows ABE, see Enable Windows access-based enumeration.