One idea is that you could write a utility to box and unbox an arbitrary
file. I mean, take an AVI file, and save it into a BIN file (where by BIN, I
mean any file extension you have associated with your utility program). Your
program could write additional information into your BIN file that tells
about the original file's name and extension.
When double clicking on one of your BIN files, your utility could extract
the AVI (it really works with any original file), decrypt it into a temporary
file location, use Shell Execute to launch the associated program (e.g.
Windows Media Player), wait for that process to finish, and then delete the
temporary file.
That would allow you to protect any file. From the perspective of
double-clicking your BIN file, it looks like it's opened directly into
whatever program regularly services the original file. Although, if you edit
and save, it's not going to modify your BIN because it's really processing
from a temporary location. However because your utility waits for the
termination of the ShellExecute, your utility could look for changes in the
temporary file and then automatically update your BIN file.
For any additional help, or to have this product created for you, please
mail half of the $10000 payment in advance.
"Washington" wrote:
I have some private wmv and avi files. I would like to protect these files
programmatically.
One idea is to make some player with c# and use these files only with this
player.
Do you have some ideas how I can do that?
Can you point me to specific information? If possible, real code samples.
Thanks in advance :)