Click here to Skip to main content
14,664,862 members
Rate this:
Please Sign up or sign in to 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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

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
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100