title: const/readonly vs. programs like Cheat Engine
body: <p>I have a program, and in that program there is some variables (username and "privilege-level") that are only changed when the user logs on. Is there a way to "secure" these varaibles from memory-editing etc while the program runs, but the program is still able to change them if the user logs on with an other username.</p>
  
  <p>I thought it would work (haven't tested) to use either const or readonly, but is it still possible to change them when the user relogs?</p>
  
  <p>Also, is it possible to hash/encrypt strings used in the program, so that the user isn't able to find them by searching the memory (i.e. using Cheat Engine)?</p>