On Tuesday, 6 January 2015 at 17:45:19 UTC, Rene Zwanenburg wrote:
On Tuesday, 6 January 2015 at 17:32:29 UTC, Adam D. Ruppe wrote:
On Tuesday, 6 January 2015 at 17:15:28 UTC, FrankLike wrote:
How to prevent sensitive information is displayed when the
extension 'exe' is modified to 'txt' on windows?
If the data is in the program, it is visible to anyone you
give the program to.
This. It's why games and other licensed applications still get
cracked, despite the industry spending millions (billions?) on
researching means to prevent it.
Alternatives would be asking the user for sensitive info
separately from the exe like a config file that they must fill
in or a password they must type when it starts up.
Or just don't distribute the program to anyone who isn't
authorized to use it.
Or don't let your application contact the DB directly. Build a
web service or whatever fancy name those things have these
days, and let the web service connect to the DB. Your
application then connects to the service using a method of
authorization if your choosing.
Thank you ,it's a good idea.