Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

911 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

21 Experts available now in Live!

Get 1:1 Help Now