The easiest way is to add those files as resources to your exe and extract them as needed, when your application is running.
If you open them inside your application, you can even just create a TResourceStream a load them directly, without temp-file. For more protection you can also encrypt and compress them into the resource and uncompress/decrypt them at runtime. Greetz, Peter. -----Oorspronkelijk bericht----- Van: [email protected] [mailto:[EMAIL PROTECTED] Francisco Javier Hernandez Segura Verzonden: woensdag 29 augustus 2007 17:35 Aan: [email protected] Onderwerp: [delphi-en] Re: Protecting files. Hi, Let me explain it with more details: I have an application that uses PDF Files, JPG Files and .DB Files. User's can access this information directly from windows explorer and open each file for example PDF Files and JPG Files. I am looking a way for hidden or encrypt this files while application is not running and when application is running files can be decompressed or desencrypted and can be used.

