Solved

How do I create a virtual drive in Delphi, C# or VB?

Posted on 2004-09-14
3
1,683 Views
Last Modified: 2010-08-05
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
   - 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....
0
Comment
Question by:lsberman
3 Comments
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 500 total points
ID: 12055525
You'd need to create a device driver, and while this is possible in Delphi (if you know what you're doing) it's a lot easier to do in C++ combined with the MS DDK kit.

Visit http://www.winimage.com/misc/filedisk64.htm and download the sourcecode of this tool. It's in there with the executables. Then again, you have probably already done so...
0
 

Author Comment

by:lsberman
ID: 12065165
Thanks for the quick reply.  Unfortunately, FileDisk is implemented as a system driver, not a callable API.  Most importantly, it requires a reboot to install it, which is a definite non-no for what I have in mind.
0
 
LVL 45

Expert Comment

by:aikimark
ID: 12093861
I'm not sure of your requirements, but you might consider some of the following ideas:
1. map a network drive to a folder on an existing drive
2. use something like PC Magic (http://www.pc-magic.com) to provide security (Magic Folders or Encrypted Magic Folders)
3. use virtual directories if you have access to NTFS on the system

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 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