Security of program's content files

Barry Levine themacguy at macosx.com
Tue Nov 19 16:24:00 EST 2002


I am developing a program that will utilize many pictures, audio, and 
video files. In order to minimize memory requirements, I'm using Image 
objects and Player objects, then populating those objects with a "set 
fileName..." command. There are a number of reasons why it would not be 
wise to import all of those resources into the program.

What will be a worry, however, is the "vulnerability", so to speak, of 
the Resources folder which is where all of the files will be stored. 
I'm not particularly concerned about the folder being tossed as there 
will be an original on the distribution CD which can be copied over to 
the HD. The worry, rather, is that the "content" can be copied and used 
for other purposes by people who are not authorized to do so.

So my question is: How can I encrypt (if that's the right word) the 
files so that they are useless to anyone -except- when running my 
program?

Thanks,

Barry




More information about the use-livecode mailing list