how to deny any file opening in a folder

ds_02 1 Reputation point
2022-09-16T03:14:06.697+00:00

how to deny any kind of file opening in a specific folder( like test) in windows server 8.
Either its a word, excel, autocad , text or any kind of file, should not get open in that particular folder and its subfolders.
but users can copy and paste the file & folders in test folder.

Windows for business Windows Server User experience Other
Windows for business Windows Server Storage high availability Other
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Dillon Silzer 57,826 Reputation points Volunteer Moderator
    2022-09-16T04:25:05.183+00:00

    Hi @ds_02

    With folder permissions it is not possible to allow them to write to the folder without allowing them to read (open) the files.

    My suggestion is you could set up a proxy folder where users dump the files, and you have a script that runs hourly and cuts and pastes files from the proxy folder to the folder where you don't want people to be able to read files from.

    ---------------------------------

    If this is helpful please accept answer.


  2. Limitless Technology 44,746 Reputation points
    2022-09-16T14:19:22.513+00:00

    Hi,

    Thank you for your question and reaching out.

    I understand that you're having issue with a file opening in a specific folder. For cases like this, I would recommend to take ownership of the file so that no one else will have access to this except the one who you assign as the owner. To take ownership of the file/folder, you may follow the steps below:

    1. Open File Explorer.
    2. Browse and find the file or folder you want to have full access.
    3. Right-click it, and select Properties.
    4. Click the Security tab to access the NTFS permissions.
    5. Click the Advanced button.
    6. On the "Advanced Security Settings" page, you need to click the Change link, in the Owner's field.
    7. Click the Advanced button.
    8. On the "Select User or Group" page, click the Find Now button.
    9. From the search result, select your user account (or the only user you want to have access with the file), and click OK.
    10. On the "Select User or Group" page, click OK.
    11. Click Apply.
    12. Click OK.
    13. Click OK again.
    14. Click OK one more time to complete this task.

    ----------------------------------------------------------------------------------------------------------------

    If the reply was helpful, please don’t forget to Upvote or Accept as answer. Thank you!


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.