简体   繁体   中英

Allow access to folder using C# via Active Directory user and Restrict access using windows explorer

I have some complex need basically related to Active Directory settings.

I have Shared Folder on Server.

We have software installed on the client machines. Now when client save the file, it should be save to the server machine's folder.

I have given Write Access to this folder and the file is being stored properly.

If I restrict View access then I can't see list of the files from the application.

If I am retrieving through the C# program then it should be retrieved. And if I see from the windows explorer then it should not be listed.

In short I want that the file read/write should be accessible from software only, but not from windows explorer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM