Object Security

Each application object that requires controlled access must have a SecurityBit parameter. This parameter is used as the argument to the SecurityCheck subroutine. Everywhere that a security check must be performed in the object's scripting code, the following code fragment must be used:

… \SecurityManager\SecurityCheck(SecurityBit) …

This fragment can appear anywhere that a conditional value is accepted, and may appear as:

      A parameter to a GUIButton or other GUI function.

      The trigger in an If statement.

      Anywhere that a conditional value is accepted.

If you do not require feedback dialogs for failed security checks on an object, the following code fragment may alternatively be used:

… \SecurityManager\SecurityCheck(SecurityBit, 1) …

In these ways, through dialogs and/or scripting code, you can completely control who can and cannot access the tools and components that make up your application.