Make Pen drive password protected.
-
Hi all. I want to make my pen drive password protected so that each time when I insert my pendrive it will ask for a password to access pen drive. Suggest me how to do this. Thanks. Gagan
You cannot do it in VB.NET or managed code. This requires writing an extension to NTFS. You're not actually password protecting the contents of the drive. The "drive" will be an encrypted file that is NOT protected on the normal drive. The contents of the file will be what your extension exposes as part of the file system. All I/O has to go through your extension to be encrypted/decrypted in and out of your file. Basically, your making an encrypted .ZIP file and exposing it through an NTFS extension.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
Hi all. I want to make my pen drive password protected so that each time when I insert my pendrive it will ask for a password to access pen drive. Suggest me how to do this. Thanks. Gagan