Relaxed

From BR Wiki
Jump to navigation Jump to search

OPTION 70 is provided to provide some security for your BR programs. The default is ON in the Browser version. OPTION 70 will do the same thing as 54 (exit if BR enters command console mode by an error or command), but it will be configurable to:

OPTION 70 OFF	 ! This can be set programmatically 
OPTION 70 ON	 ! Same as OPTION 54 – the default for browsers 
OPTION 70 RELAXED	! Mild security – enables some support

RELAXED mode is intended to allow end users to do some debugging but still provide some security for your programs. This means that BR will not exit at every command console prompt, but will disable commands such as COPY, DIR, etc., disable CONFIG commands, and prevent changes from being made to BR programs. However, this relaxed security can be defeated because all of these activities can be performed by programs or procedures. Use OPTION 70 ON (the default) for high security.