There are ways of including those file in a resource file, where they get
compiled into your program, or maybe as a DLL, that you access
programmatically. I know that there's an article at Delphi.about.com on
putting images and HTML files in a resource file. That might serve as a
start. 

 

You could certainly encrypt them, and maybe do that in coordination with a
resource file. So even if someone looks into the resource file information,
they can't read it. Of course, you'd need to have the information on how to
decrypt in your file.

 

Maybe you could grab the information over the Internet. Not my preferred
manner, but it might be an option. Depends on how important the
secrecy/protection of the file information is.

 

Some of the more experienced developers would probably have some good ideas.
This was a much better description of what you're wanting to do. Thanks for
the follow-up.

 

Warrick

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Francisco Javier Hernandez Segura
Sent: Wednesday, August 29, 2007 8:35 AM
To: [email protected]
Subject: [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.

I was thiking a way to hidden it using attrib windows command but i don't
know if exists a 
best way.

I hope you can understand me ... 



[Non-text portions of this message have been removed]

Reply via email to