Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public variables in memory ?
Message
De
21/07/2009 01:52:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01413003
Message ID:
01413506
Vues:
61
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform