SMB File Share SG joined to domain

0

I have been testing with EC2 storage gateway with file share joined to our domain. I have added admins in file access settings. I am trying to move our on prem shared drive to aws using storage gateway. Enabled windows ACL. Mainly two questions: 1)Which is the best way to prevent users (with access to file share) to add permissions for another users? Any user that has access to the file share can modify permissions, even his own permissions. 2)Also the ntfs permissions already assigned on shared drive on prem doesn't get copied with copying folders to file share. It just sets to everyone when copied to file share. Since it's a large amount of data (around 10 TB), if i do robocopy will the permission also moved to file share? I will be doing robocopy on our file server. File share is mapped on server.

1개 답변
1

Hello,

You can control permissions on the SMB file share granularly using NTFS ACLs from Windows explorer or using PowerShell.

  1. To prevent users to change/grant permissions to other domain users, you would need to ensure those AD user/group are not granted Change Permissions or Full Control NTFS permissions on specified file/folder. However, please note that the owner of the file/folder can always change permissions for themselves or grant permissions to others regardless of any existing permissions on that file/folder. Please refer here for additional information.

  2. With robocopy command, please ensure that you are using /S flag to copy NTFS ACLs. You can use the following robocopy command which would copy data, attributes, timestamps, NTFS ACLs and ownership information. Please refer here for more information.

    robocopy Y:\ Z:\ /copy:DATSO /secfix /e /MT:8

Additional references:

https://docs.aws.amazon.com/filegateway/latest/files3/best-practices-copying-files-on-windows.html https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_CreateSMBFileShare.html#StorageGateway-CreateSMBFileShare-request-AdminUserList

profile pictureAWS
Surya
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠