Question
-
CreatorTopic
-
April 10, 2025 at 10:06 pm #4301627
-
CreatorTopic
All Answers
-
AuthorReplies
-
-
April 10, 2025 at 11:27 pm #4301629
Yes.
by rproffitt · about 1 week ago
In reply to Kill Switch a file on windows
But this is not a feature on Windows, Apple OS or Linux so you’ll have to wrap the document inside some app.
-
April 11, 2025 at 3:06 am #4301643
-
April 11, 2025 at 5:05 am #4301661
Reply To: Kill Switch a file on windows
by kees_b · about 1 week ago
In reply to Reply To: Kill Switch a file on windows
The maker of the program that asks for the password to protect the file. For example, a zip-file can be password protected. Then ask the author of the program you want to open it with (like 7-zip) to implement such a feature.
But, of course, any copy of that file the user made wouldn’t be deleted, although still inaccessable without the password. I see no added security by deleting the original if the user can make as many copies of the file as he wants.By the way, 7-zip is open-source. So you can build your own version that has this.
it might be easier to publish such an encrypted file on your website, and asking for a password to download it. Then only people with the password can download and read it. That’s a nice protection. Maybe there is no reason even to encrypt it.
-
This reply was modified 1 week ago by
kees_b.
-
This reply was modified 1 week ago by
-
April 11, 2025 at 7:29 am #4301676
Reply To: Kill Switch a file on windows
by sender282 · about 1 week ago
In reply to Reply To: Kill Switch a file on windows
If you were to do it through the opening application like 7zip could someone use a different program like winrar to try unlock it and bypass the file delete script? Would there be a way to embed the script into the file itself?
-
April 11, 2025 at 11:00 am #4301697
Reply To: Kill Switch a file on windows
by kees_b · about 1 week ago
In reply to Reply To: Kill Switch a file on windows
First question: yes.
Second question: no. A file that is being accessed, can’t be deleted, so a file can’t delete itself.All you can do:
1. Send an encrypted file.
2. Send a program that asks for a password to open it, and deletes it when the password is entered wrong x amount of times. When it’s entered correctly, it should decrypt the file to a temporary unencrypted one and open that with the right program (like MS Word if it’s a word document, or Adobe Reader if it’s a pdf-file), Most of such programs allow the use to save the (unencrypted) file. That’s not a very good security, isn’t it? And, of course, the user can make any number of copies of the original unencrypted version.I don’t think it’s a feasible idea.
-
-
-
April 11, 2025 at 3:01 pm #4301719
You would need to create this.
by rproffitt · about 1 week ago
In reply to Kill Switch a file on windows
Example of how to delete that app that would have created the document.
1. Password, etc.
2. On failure, create another app, launch that app, first app exits and the second app deletes the first executable.Let’s be honest here. If you can’t write code, you should outsource this.
-
April 11, 2025 at 3:35 pm #4301722
Reply To: Kill Switch a file on windows
by kees_b · about 1 week ago
In reply to You would need to create this.
That leaves you with a useless backup copy of the first program and the second program in a temp folder. A zip-file with a password seems a better idea to me.
-
April 11, 2025 at 4:23 pm #4301723
Reply To: Kill Switch a file on windows
by sender282 · about 1 week ago
In reply to You would need to create this.
I really appreciate the responses. And I apologise for so many follow up questions. Would there be another angle I could approach it from like maybe keeping the file on a usb drive and put a protocol in place that the drive would wipe if incorrectly accessed
-
April 12, 2025 at 7:22 am #4301751
Reply To: Kill Switch a file on windows
by kees_b · about 6 days, 15 hours ago
In reply to Reply To: Kill Switch a file on windows
No, you can’t wipe a file system that has a file that’s being accessed.
Why do you want this so badly?
-
-
-
April 18, 2025 at 1:17 pm #4302449
Reply To: Kill Switch a file on windows
by DediRock · about 9 hours, 47 minutes ago
In reply to Kill Switch a file on windows
Yes, it’s technically possible with a custom script, but risky—accidental deletions could be a nightmare. Use with extreme caution.
-
-
AuthorReplies