Solved

How do I create an encrypted virtual disk volume in Delphi, C++ or .NET?

Posted on 2004-09-14
5
1,605 Views
Last Modified: 2013-11-15
Hi!  I'd like to create a "virtual" mountable drive that uses one or more files to emulate physical disks and has the following features:

   - Needs to act like a standard hard drive (i.e. it needs to be accessible via Explorer, etc.)
   - Needs to be created and manged through my own software.
   - Needs to intrinsically encrypt all of its data and/or allows me to add this ability in
   - Works under Win98, WinNT, Win2K, Win2003 and across network shares
   - Doesn't use the "subst" command or similar: I need to create an actual file-based volume
   - Commerical software is fine as long as it doesn't cost an arm and a leg

Some examples I've come across which almost but not quite fill the bill are:

   - FileDisk: http://www.acc.umu.se/~bosse/
   - Single File System: http://www.aidaim.com/info/main.php

Logon  SOftware (http://www.logon-int.com/Product.asp?ClassId=SYSSECUR&sProdClassCode=SWR-P-01) has a great product called Sentry 2020 that appears to do everything I need.  Unfortunately, their product is an application, not a development library.

Anyway, any help in this regard would be greatly appreciated.  Thanks...
0
Comment
Question by:lsberman
  • 2
5 Comments
 
LVL 12

Expert Comment

by:fulscher
ID: 12061655
Have you checked out PGPDisk? It comes even with C++ source code and it's freeware (until version 6.5.1): http://www.pgpi.org/products/pgpdisk/

Writing such a thing yourself from the scratch probably would be a major undertaking. I've been looking at it some time ago; the difficult bit is writing the device driver for your virtual disk. However, if you want to do so, there's sample code for a RAM Disk in the device development kit of windows (or there was, in NT4, I believe).

Hope this helps
Jan
0
 

Author Comment

by:lsberman
ID: 12065195
Thanks for your quick reply.  Unfortunately, I need something that works with WinXP and Win2003 (and Win98, WInNT, Win200)
0
 
LVL 12

Accepted Solution

by:
fulscher earned 500 total points
ID: 12065815
I just installed the binaries from the link I gave you on Windows XP - works fine. There are versions for Win95 and WinNT in the source code, too, so this should cover your requirements.

You also can check out the newer versions of PGP; they contain an SDK: http://www.pgp.com/products/sdk/index.html

From what I understand about Sentry, this is exactly the same thing is PGPDisk.

Jan
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now