Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How to lock a folder in professional manner (without using the encrypt

19 Jun 2011   #1

Windows 7
How to lock a folder in professional manner (without using the encrypt

I want to lock (or completely hide without allowing to see with show hidden folder check) a folder with C# for windows platforms. This should be work for both FAT and NTFS file systems. I do not wont to use encryption since it is slow.

Should I use low level c++ code to achieve this?
Also I need this as a robust solution so changing CLSIDs is not working.

Also removing permission with FileSystemAccessRule with AccessControlType.Deny also not working for me. Because that only work on NTFS and also if it is worked then user can right click the folder and remove deny AccessControlType.

Please help me to resolve this.


My System SpecsSystem Spec
19 Jun 2011   #2

Windows 7 Professional SP1 - x64 [Non-UEFI Boot]

My System SpecsSystem Spec

 How to lock a folder in professional manner (without using the encrypt

Thread Tools

Similar help and support threads
Thread Forum
Users folder not visible in explorer,lock on admin's user folder icon?
A past virus must have caused this.The C:\Users folder is not visible in explorer for some reason.I can still visit the contents and the pc works fine,but this is not right.Also, there is a lock on my users/alexandros folder icon.Maybe it has something to do?
System Security
BSOD happens in a seemingly random manner.
Hi guys, I just got a new laptop and am getting these BSODs since day one. Hoping you guys come out with a solution. Thanks in advance, Nikhil
BSOD Help and Support
How to encrypt a file or folder on Win 7 Pro ?
Is there a way to encrypt a file or folder on Win 7 Pro 64bit ? I would like to keep all my passwords and/or account logins for all my on line activity somewhere on the PC so I don't have to setup a new password/login every time I can't remember what password goes with what on-line account ? ...
Performance & Maintenance
Best software for encrypt individual folder
What is/are your suggestion/s? Best= 1. Easy to manage 2. Support many type of encryption 3. Support Windows XP & 7
Folder lock?
Is there a way to lock a single folder in windows 7?
General Discussion
folder lock?
got free folder lock compatible to windows 7?

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:15.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App