Click here to Skip to main content
15,894,252 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all,

I need to create an windows application to lock files and folders with C#. I do not have any idea how can I do that.

Can any one help me?

Thank you,
Abdullah
Posted
Updated 8-Jul-10 3:59am
v2

You won't be able to do that in C# without managed code, and there is no magic line of code we can toss your way.

Use Active Directory and assign group rights to the users, and set up security on the directories.

Cheers.
 
Share this answer
 
i don't know correctly

but i know how to hide drives c: d: E: like


step 1 : run>diskpart click ok
step 2 : type : list volume
step 3 : select : select volume 2
step 4: remove : remove letter D
 
Share this answer
 

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