D
D
Damian Lewis2018-10-29 06:54:06
Automation
Damian Lewis, 2018-10-29 06:54:06

Symbolic Link or Junction Link?

Good day! I had a need to transfer some files generated by the program to an encrypted container so that after closing the container there would be no traces left at all. So that these files cannot be recovered by the recovery program. For example, I have a folder "C:\Users\****\AppData\Roaming\Papka1". I want everything that gets into it to be immediately physically transferred to the mounted container on the "H:\" partition. In principle, doing this is not a problem and I did. Only now the question arose: will the files that I throw into the Papka1 folder be PHYSICALLY created only in the mounted partition "H: \" or after unmounting (closing the container) they can be restored through the recovery program? I mean restore from folder Papka1. Naturally, they will not be restored from the container. It is necessary that the files are physically created only in the container, and not in Papka1. And which link is better to use: symbolic or Junction Link?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GenuZ, 2018-10-29
@DamianLewis

It's a very long question, but I'll try to answer.
1. If you have created a link to an external drive on the internal drive, then it will only be written there. No data will be stored in the internal storage.
Accordingly, it will not be possible to restore them, since they were not there.
There is only one exception, if before transferring to "C:\Users\****\AppData\Roaming\Papka1" the data was stored, say, in C:\1, then in C:\1 they can be restored, since they were physically in C:\1.
2. Read more about the difference between Junction Point, Symbolic Link and Hard Link here: https://habr.com/post/50878/ so that I do not quote the entire article.

A
Artem @Jump, 2018-10-29
curated by the

It is not entirely clear what it means to "PHYSICALLY be created"

can they be restored through the recovery program?
Restoring through the recovery program will definitely not work.
In general, there is a possibility of recovery, but far from guaranteed, it depends on the settings and on how much time has passed and how much data has been written after that.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question