On the fly


Here is what I’m trying to do:

  • I’d like to encrypt a file using PGP
  • send this file to someone (that has approp. private key)
  • set time limit for how long this file can be used (expiration on the private key?)
  • the file must be “openable” by any app without storing decrypted file on disk

This last point is the most important. In other words, I’d like to do something like that (Linux example):

mydescrypt file1 | anyapp

but I need to do it under windows…

Is it possible?

well, the last point should at least
work this way on Windows:

mydecrypt file1 > x
anyapp < x
del x

probably there are bette ways.

well, this can be easily hacked into…while someone is working on the app, the file is still there and can be copied and distributed…

While anyapp is working with the plaintext, possibly it can save it too, no matter what you do.

I think encryption only cannot help.
You need to restrict access to the data, if you can.

If the situation for the data to be used, is very much under control, you could write a program that outputs the plaintext only under some conditions (date etc).