Is there a way to fake a file in a sistem file or write a file that only appears in my exe file

A well written application that uses the Adobe ActiveX control to display PDF files.

Adobe ActiveX only controls file downloads from the file system. Therefore, I will not feed the path to this element.

The problem is that I do not want to store PDF files on the file system. The event is temporary! I will not store PDF files only in memory , and I want to use the Adobe ActiveX control.

So I:

1) A way to fake a file in a file system. Thus, this control will “think” that there is a file, but it will load it from memory

2) A way to create a file in the file system that will be "visible" for only one application, so my PDF tool can download it, and other users do not even see it.

3) Something else

PS: I do not ask "to finish homework", I just ask - is there a way to do this?

+3
source share
3 answers

You can almost do it (meaning: no, you cannot, but you can do something that is approaching).

FILE_ATTRIBUTE_TEMPORARY . , ( , - ), . , .

, 0 FILE_FLAG_DELETE_ON_CLOSE , , - , "", . , ( DRM). bluescreening, , . .

, NTFS , (, SHA1 UUID) . ... , , , . , ( , ). , temp , , .
, (:) . API .

, . , - ramdisk ( ), , ... .

+5

- , , / . , , - / . , , .

, , , .

+1

. . . , - ( ).

- Adobe Reader , PDF .

But in general, a smart hacker will be able to record your data if you do not have (a) a non-standard data format and / or (b) dynamically transfer data from the server without saving the full data on the computer. These are also not bulletproof solutions, but they do the job hackers are much more complicated.

+1
source

All Articles