Solved

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

Posted on 2004-09-14
5
1,621 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

785 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