How to "seal" a file so that the seal must be broken to read the file?

0

1

I would like to make a digital equivalent of an envelop with a seal that must be broken to open. The idea is that it can be seen that the seal has been broken. I know that it is impossible to make this 100% safe, but for the use case I am imagining, it is sufficient that very difficult to open the seal without "breaking it". I am thinking of storing a text file with some important information.

Any ideas?

Edit: This is as much a thought experiment as something I've actually decided to do. I kind of figured that the data probably have to be stored remotely, like the web server or email auto-reply suggestions, but I was wondering if somebody could come up with a unique solution for storing it locally. I suppose storing just the encryption key remotely or IRL may be as close as we can come.

boileau

Posted 2012-10-19T14:05:29.997

Reputation: 119

Are you talking about encrypting the file? – Linger – 2012-10-19T14:09:05.750

Even if you found something like this, the problem with files is that, unlike envelopes, digital information is easily reproduced. If your intention is to be able to tell whether someone has read a particular file on your computer, what's to stop them from making a copy and reading it on another computer? The original left on your computer would then still have its "seal" intact. – Indrek – 2012-10-19T14:13:32.793

If this is an "After I Die" set of instructions or information sort of file, here is the best plan that I have come up with. Encrypt the file and put the encryption key on a piece of paper in and actual envelope. Put the envelope in a safe deposit box or give it to whomever you want to have access at the appropriate time. – EBGreen – 2012-10-19T14:17:48.353

2What you want is not possible with digital files. – Ramhound – 2012-10-19T14:38:29.700

Answers

3

If you give someone your digital envelop then there is no way to guarantee this. They already have the contents and can manipulate those at will.

Thus to be sure that you know when someone has/can open them you will either need to:

  1. Store them yourself, and have a way for others to fetch them.
  2. Encrypt the file and have a way to log when someone gets the key to decrypt it.

A automatic reply on a email with a certain formatting might be the easiest way do for this. (With in the answer either the file, or the decryption key).

Note that option 1 is the most secure, but option 2 might be best for large files.

Hennes

Posted 2012-10-19T14:05:29.997

Reputation: 60 739

0

The only reliable way to do this is to store the files on a webserver that you control, and track access to them. You could just serve the files via Apache or similar and track access_log, which would tell you who accessed them when, or, if you want a specific identity attached, protect the files via some authentication mechanism (htpasswd is the simplest, but I'm sure there are some out there that will only force authentication the first time something is accessed, giving you a simulacrum of "seal breaking" functionality).

Zac B

Posted 2012-10-19T14:05:29.997

Reputation: 2 653

0

not sure if this is possible but a digitally signed PDF with a embedded Script that is executed upon the pdf being opened and thus changing the validity of the signature could be an option.

seb

Posted 2012-10-19T14:05:29.997

Reputation: 241