Does anybody know how to program a virtual disk (a file which acts as disk) in Windows. For example, program TRueCrypt installs virtual local disk, which looks like a real disk although the content is encrypted and stored in a file.
You have to declare a pointer of needed dimensions, it will act like a local disk. It can be achieved in a advanced programming language, like Visual Studio, for Windows, or XCode (Cocoa) for Macintosh. In that pointer you can allocate the values which you need to work from RAM memory.
Only for Windows 8, there is an API in this way. WMI-based programming interface.
For details, can give me an email ([email protected]) and I will send to you details and documentation.
For cryptographic purpose, is better to use solution 1. I used it on Mac, for key pair generation. It works.
It is not what I want. I would like to have disk in a file, where I could intercept each read or write to the disk and modify it (e.g. encrypt/decrypt, calculate hash and store it with the data, ...)