I want to lock the folder.I have found the code,but its not helpful
http://www.codeproject.com/KB/files/Unique_Folder_Protection.aspx

Suppose mine foldername is sonia ,In the codeProject code,he is renaming the folder to sonia.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} & password is set & that password is written to xml file in the folder sonia only...next time when we double click on folder sonia.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}..form is dispayed it which we have to give the password.

BUt frnds its a wrong method of locking the folder,firstly i do not want to change the folder name.I want that it still remains sonia,even after locked...Secondly,If we rename that folder by right clicking the properties & remove .{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0},I can view the contents of the folder..

Plz help me out..very urgent...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.