Restrict user permission in windows server file sharing

Mohamed Rizvi 21 Reputation points
2023-08-31T10:22:10.87+00:00

how to deny a user from copying a file in Windows server file sharing to another source, but allow that user to edit and read that file?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,799 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,236 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2023-08-31T10:22:10.8733333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To deny a user from copying a file in Windows server file sharing to other sources, but allow that user to edit and read that file, you can use Share and NTFS permissions. Specifically, you can remove the user's Read and Execute permissions for the folder where the file is located, and then grant the user Modify permissions to the file itself. This will allow the user to edit and read the file, but not copy it to other locations.

    Here are the steps to implement this:

    1. Right-click the folder where the file is located, click Properties, and then click the Security tab.
    2. In the Group or user names pane, click the user you want to restrict.
    3. Click to clear the Read & Execute check box for the user.
    4. Click OK.
    5. Right-click the file you want to allow the user to edit and read, click Properties, and then click the Security tab.
    6. In the Group or user names pane, click the user you want to allow.
    7. Click to select the Modify check box for the user.
    8. Click OK.

    Note that this method only restricts the user from copying the file to other locations on the same server. If the user has access to other servers or storage devices, they may still be able to copy the file to those locations.


    References:

    0 comments No comments

  2. Ian Xue 37,706 Reputation points Microsoft Vendor
    2023-09-01T03:25:51.6266667+00:00

    Hi Mohamed Rizvi,

    I'm afraid you can't because only the Read permission is needed to copy a file.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.