Solved

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

Posted on 2004-09-14
5
1,655 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
This video teaches viewers about errors in exception handling.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

705 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