REBOL Programming/secure

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

SECURE 'level 

DESCRIPTION:[edit]

Specifies security policies (access levels and directories). Returns prior settings.

SECURE is a native value.

ARGUMENTS[edit]

  • level -- Levels are: quit, throw, ask, allow. Query returns settings. (Type: word block)

SOURCE CODE[edit]

secure: native[
    {Specifies security policies (access levels and directories). Returns prior settings.} 
    'level [word! block!] {Levels are: quit, throw, ask, allow. Query returns settings.}
]