Solved

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

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

By default, Carbonite Server Backup manages your encryption key for you using Advanced Encryption Standard (AES) 128-bit encryption. If you choose to manage your private encryption key, your backups will be encrypted using AES 256-bit encryption.
VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

738 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