[fpc-pascal] Resource strings, passwords etc.
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Tue Jul 12 21:39:09 CEST 2016
On 2016-07-12 20:12, Mark Morgan Lloyd wrote:
> Can FPC be told to obfuscate ResourceStrings?
No, but why the hell would you want to hard-code a password inside an
executable. Encrypt it externally and read it from a .INI file at
runtime (or prompt for a password). Even something as simple as
XorString() is better than nothing - compared to storing it inside your
source code.
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal
mailing list