Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public variables in memory ?
Message
From
21/07/2009 01:52:48
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01413003
Message ID:
01413506
Views:
62
>I intend to use public variable to store number of records counted to limit my demo software
>
>Does anybody know if they are stored in the memory of PC and can be easily changed by user ?
>
>
>Moises

Moises

As Christof says, it is easy to change the "number of uses" once you know what the variable is called.

So what you need to do is disguise the number and the variable

Do not store it in a variable such as "gnNumberOfUses" but in something much less obvious.
Also if you, say, want to limit the number of uses to 30 do not store that number in a variable or hard code it. Store instead say 57 and then subtract 27 from that or 23 and then later 4 from that. There is no way to make your software totally safe - If it runs in memory it is unsafe - but you can make it more difficult for hackers.

Check on Christof's blog. He has an excellent article about securing your VFP apps.

Also do not depend entirely on one method. For instance relying only on Refox for encryption is useless as it does not protect you fully.
Check out other means of protecting your EXE so it cannot be decompiled.

Did I mention Christof's article?

Bernard
Previous
Reply
Map
View

Click here to load this message in the networking platform