Click here to Skip to main content
15,891,859 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I am trying to make a simple security application in VB.NET, which locks specific files and folders of my computer. So simply How Can I do That ? But, No One could be able to read my locked folders or files !!!
Posted

I have seen a few methods to lock files and directories and they are all basically useless for security purposes. I seriously recommend you look into encryption. Check out the RijndaelManaged Class
http://msdn.microsoft.com/en-us/library/system.security.cryptography.rijndaelmanaged%28v=VS.100%29.aspx#Y2394[^]
and if you need further information about how to use this class there are plenty of examples online.
 
Share this answer
 
Comments
Captain Price 3-Dec-11 5:04am    
do i need to keep the program running to lock the files\folders ?
LanFanNinja 3-Dec-11 12:21pm    
Yes this seems to be the case for the folder lock programs I have come across and they can be easily bypassed by killing the process, starting up in safe mode, renaming files, etc.

By encrypting the files data you make it so it doesn't matter if someone can open and view the files. They still cannot get at the data!
Captain Price 4-Dec-11 1:52am    
Is there any method to hide the process from the process list or, lock my process so others cannot kill that ?
http://www.a1vbcode.com/app-4408.asp[^]

Download the project on this link.....:)
 
Share this answer
 
Comments
Captain Price 3-Dec-11 10:24am    
okay, thanks
LanFanNinja 3-Dec-11 12:36pm    
I could not even get this application to work!
 
Share this answer
 
Comments
LanFanNinja 3-Dec-11 12:25pm    
A quote from a comment at that link

"the locked folder can just be renamed and you can open the folder. It doesnt lock the folder it just redirects the user to some other location depending on the folder name".

And there are more comments on that page that say the same.

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