Click here to Skip to main content
15,889,862 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have an folder named A. I just wanted a user can not be able to mouse click on this folder. It means
when user double click on folder A nothing should happen. (it should not open that folder).
When user right click on this folder no context menu should open.
etc.

What I have tried:

I tried changing registry entry but it applies at system level which i do not want.
Posted
Updated 16-Mar-16 2:10am
Comments
CHill60 16-Mar-16 8:09am    
Change the folder permissions - File and Folder Permissions[^]

1 solution

What stops me using cmd or a third party file explorer to access the folder and do what I want? Trying to prevent access to things by manipulating the GUI is never the right solution and it always leaves workarounds. If you want to restrict access to a folder do it properly using authentication.
 
Share this answer
 
Comments
Prem95 16-Mar-16 20:42pm    
Thanks for your suggestion

I have all ready applied the ACL on the folder which provide all the security I just wanted to restrict user not to click on it even admin. If you have any solution to restrict any folder which user cannot read it in any way then it will be good.

Thanks in advance.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900