Is it possible to create a virtual file in memory of a user application, let’s say a service and somehow have all redirection pointing to that virtual file?
The problem I am facing is the following.
A file needs and must be in memory only, I’d rather avoid a ramdisk drive.
As files are written to and read from they need to be encrypted and decrypted accordingly and unloaded from memory when closed.
Is what I am asking possible or is there a better solution?
wrote in message news:xxxxx@ntfsd… > In PreCreate, File A is attempted to be opened. The Driver instead opens > File B. >
Original Question. ----------------------------------------- Hi.
Is it possible to create a virtual file in memory of a user application, let’s say a service and somehow have all redirection pointing to that virtual file?
The problem I am facing is the following. A file needs and must be in memory only, I’d rather avoid a ramdisk drive. As files are written to and read from they need to be encrypted and decrypted accordingly and unloaded from memory when closed.
Is what I am asking possible or is there a better solution?
Please read post from PeterGV 12 November 2009 “Marketing Postings
Prohibited”.
wrote in message news:xxxxx@ntfsd… > Nv: are you going to do driver development or you want to do everything in > user mode or you need a ready-to-use solution? > > If you need to keep the data in memory in encrypted form, we at EldoS > Corporation ( http://www.eldos.com/ ) can offer two possible solutions: > Solid File System Driver Edition or Callback File System. The first one > provides a ready to use backend virtual file system with encryption and > compression. The second one lets you store the data the way you like. Both > of them create a mounting point which can be a drive letter or a hidden > mounting point (it can be accessed by the application but it’s not visible > to the average user). >
I had wanted to say that. My wish is to learn through examples rather than have someone complete the development for me.
Does anyone have any ideas?
Previous Message.
Please read post from PeterGV 12 November 2009 "Marketing Postings
Prohibited".
Original Question.
Hi.
Is it possible to create a virtual file in memory of a user application, let's
say a service and somehow have all redirection pointing to that virtual file?
The problem I am facing is the following.
A file needs and must be in memory only, I'd rather avoid a ramdisk drive.
As files are written to and read from they need to be encrypted and decrypted
accordingly and unloaded from memory when closed.
Is what I am asking possible or is there a better solution?
A file needs and must be in memory only, I’d rather avoid a ramdisk drive.
As files are written to and read from they need to be encrypted and decrypted
accordingly and unloaded from memory when closed.
Just curious. Why would you avoid ramdisk?. I know there are full-fledge
file systems that can be made to ram memory only. I did not design any
from the scratch, but I know, debugged, and added minor feature that
could be made to work like all the block data are in memory. So, one way
is to have a fairly full blown file systems where each block you provide
is in cache. - Again, I’m not expert in this to give alternatives.
Mr. Mayevski has the honor of being the first person:
To have all his posts to this list, from the time of his joining, reviewed. I was surprised to see that he has provided no significant technical assistance whatsoever in the 3 years that he has been a member here… and his post have comprised almost entirely marketing material. All his blatantly commercial posts have been deleted from the archives (including the one above).
To be placed on permanent moderation. Rather than just ban him outright, his posts will now require review and approval before they are sent to the list.
I apologize to the community for Mr. Mayevski’s behavior, and I apologize to the OP for my being forced to hijack this thread. OP, please don’t hesitate to re-post your question in a different thread if I’ve hopelessly diverted this one.
Mr. Mayevski has been apprised that his conduct is contrary to the list’s guidelines by private email.
I think I get what you want to do, and yes, you’re right, it’s not a reparse
solution.
It sounds like you want to be like a virtual file system for some files, you
want to “take over from the file system” for some files. AFAIK it’s
certainly possible, although not easy, to do this sort of thing. If you want
to do this for learning, you’re kinda jumping in at the very deep end, and
the water is infested with sharks, with lasers on their heads No,
seriously, I’d suggest you start with a passive filter - maybe something
like an activity monitor - until you feel like you’re on top of how all the
different IRP and FastIo fit together. Oh, yes, and plan to work as a
mini-filter. The minispy and ctx samples together from the WDK should be a
good start for you.
Good Luck!
wrote in message news:xxxxx@ntfsd… > Hi. > > Is it possible to create a virtual file in memory of a user application, > let’s say a service and somehow have all redirection pointing to that > virtual file? > > The problem I am facing is the following. > A file needs and must be in memory only, I’d rather avoid a ramdisk drive. > As files are written to and read from they need to be encrypted and > decrypted accordingly and unloaded from memory when closed. > > Is what I am asking possible or is there a better solution? >