Solved

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

Posted on 2004-09-14
3
1,700 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
[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
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

739 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