EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Use SolFSDrv to store/encrypt database file

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
Posted: 01/04/2007 04:09:57
by Miguel De Buf (Priority Standard support level)
Joined: 01/04/2007
Posts: 32

I can mount a SolFS drive, and attach a drive letter to it. I can put a database file on it, and open the database using odbc (or whatever). Is there a way to hide the drive, so the end user does not see the mounted drive letter, and still be able to open the database as if it were a regular file ??
Posted: 01/04/2007 04:21:58
by Eugene Mayevski (Team)

You can create a mounting point, which will be a UNC path (and not a drive letter). This will hide the drive from the user (to certain extent, as the devices can be enumerated using special tools).

Sincerely yours
Eugene Mayevski
Posted: 01/05/2007 06:06:17
by Miguel De Buf (Priority Standard support level)
Joined: 01/04/2007
Posts: 32

Could you please give me an example ?
This is the small test code I use :

m_objStorage = New SolFSStorage()
With m_objStorage
.PageSize = 4096
.UseTransactions = False
.UseAccessTime = False
.PathSeparator = "\"
.Logo = ""
.FileName = m_strImgFile
End With

The first AddMountingPoint() succeeds, and I have the i: drive available. The second one fails. What exactly do you mean by 'create a mounting point, which will be a UNC path' ?

Many thanks,
Posted: 01/05/2007 09:12:27
by Eugene Mayevski (Team)

The text below is taken from the help file:


Mounting Points (Driver Edition only)

When the file system driver mounts a volume, the volume must be accessible via certain mounting point. This is the name which will be used by the system to access this volume. Each volume must have at least one mounting point, and it can have several mounting points if necessary.

When Solid File System driver mounts a volume, the volume automatically gets a "\\.\SolFS_VolumeN" mounting point, where N is the consecutive number. The application can add it's own mounting point and delete the default one if needed.

The functions, which work with mounting volumes, accept point names with "\\.\" part omited. So if you want to delete the name "\\.\SolFS_Volume1", call DeleteMountingPoint() method and pass "SolFS_Volume1" as the name.

You can add mounting points that will be visible to the user by specifying the "disk name" as a mounting point. The disk name consists of a single character in range A to Z followed by a colon, for example "Z:".

Alternatively you can create mounting points that will be only visible when you call them using their names. Such points start with "\\.\" followed by point name (remember that SolFS methods omit the "\\.\" part), for example "\\.\MySecretDisk".

Sincerely yours
Eugene Mayevski
Posted: 01/05/2007 09:29:04
by Eugene Mayevski (Team)

The description can be a bit confusing.

You need to call AddMountingPoint("MyDisk")

and then use the file names like "\\.\MyDisk\MyFile.dbf".

Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.



Topic viewed 6232 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!