File compressor

Closed
Stepa Posts 7 Registration date Sunday November 29, 2009 Status Member Last seen December 7, 2009 - Nov 30, 2009 at 05:14 AM
Petya Posts 4 Registration date Sunday December 6, 2009 Status Member Last seen December 7, 2009 - Dec 7, 2009 at 10:02 AM
Hi,

Is it possible in anyway to load a file into memory and then run it
from there? I am working on a file compressor, that can compress and encrypt and save
multiple files as an exe file that can then run the compressed files
after unpacking them to a temp folder. The problem is that I have to
unpack the files to the hard-disk and then run them from there, making
them vulnerable to user that may try to get the original (unprotected)
files.

So the user shouldn't have access to the file operations in the
background. So I need to keep the original unpacked files hidden from
the user, until after they are opened by the unpacker and then deleted.
So users should have no kind of access to the files (should not see
them, open them, should not be able to modify or copy them) but the
unpacker should be able to run them. (that is why I think that the
memory is the best solution)

So is there any way to protect them, like unpacking them directly to
memory and then run them from there? Something like a virtual disk in
memory?

Thanks.
Related:

1 response

Petya Posts 4 Registration date Sunday December 6, 2009 Status Member Last seen December 7, 2009
Dec 7, 2009 at 10:02 AM
I think you will need some file system emulation SDK, for example BoxedApp SDK. Get from https://www.boxedapp.com/
0