Lock down your variables


AskInga logo

Original Tip Date: Feb 26, 2002

Lock down your variables!
 
To prevent users from changing variables through Workspace > Configuration, lock down your variables by prepending them with the preprocessor directive %lock. For example, in your site configuration file, you can lock down MS_ENHANCEDPRECISION to a value of 0, by adjusting your configuration to read:

MS_ENHANCEDPRECISION = 0
%lock MS_ENHANCEDPRECISION

AskInga Tip #135