in reply to Re: Can I add text to a message area in an EXE file?
in thread Can I add text to a message area in an EXE file?

Hey, thanks for the reply!

I'm trying to avoid Config Files/ Registry for security reasons. I am looking to store passwords in the exe, post exe creation. Do you think this is possible?

  • Comment on Re^2: Can I add text to a message area in an EXE file?

Replies are listed 'Best First'.
Re^3: Can I add text to a message area in an EXE file?
by davidrw (Prior) on Apr 12, 2006 at 13:53 UTC
    possible? maybe, i don't know .. but if security is your concern, you _really_ don't want to do that .. If you can read the passwords out to replace them, then obviously anyone can read them. They'd probably pop right up if the exe was run through the standard *nix strings utility.

    Also, wherever you store them, be sure to not store plain text passwords -- use Digest::MD5 or some other hashing techinique.
Re^3: Can I add text to a message area in an EXE file?
by holli (Abbot) on Apr 12, 2006 at 13:43 UTC
    If your only problem here is security: use one of the encryption modules to make the config file "unreadable" for others.


    holli, /regexed monk/
Re^3: Can I add text to a message area in an EXE file?
by PreferredUserName (Pilgrim) on Apr 12, 2006 at 13:58 UTC
    You're fooling yourself if you think that's secure. If the opponent can look into a text file, he can look into the executable.

    You should use the usual security infrastructure (encryption, permissions, etc.).