Error getting tags :
error 404Error getting tags :
error 404 password | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
password
Basics
Expander triangle
Type
Property
Syntax

set the password of stack to {passwordString | empty}

Introduced
1.0
Environment
Desktop,Server,Web
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies a password that the user must enter before making changes to the stack.
Examples

set the password of stack "Secrets" to field "Password"

set the password of this stack to empty -- remove password

Additional Comments
Expander triangle

Use the password property to encrypt a stack's contents, allowing access only from within the application.

Value:

The password of a stack is a string.

By default, the password property of newly created stacks is set to empty.

Comments:

If the password property of a stack is not empty, all the text in the stack is encrypted (so that it cannot be read in another program, such as a text editor). Scripts, custom properties, text in fields or buttons, and object names in a password-protected stack are all encrypted. However, you can still open the stack, see the contents, and get object properties.

The password property applies to a stack, not to the entire stack file, so it is possible to have a stack file that contains both password-protected and unprotected stacks. After setting the password the password protection does not take effect until the stack has been removed from memory and reloaded.

If the password is set, the stack's Scripts cannot be modified, its password cannot be changed, and objects cannot be copied.

These restrictions stop operating temporarily for the current session when the stack's passKey property is set to the correct password by a handler.

To permanently remove the password restrictions, set the stack's password to empty.

Setting the password to empty removes the password from the stack and makes it fully accessible to any user.

Note: Since all the text in a password-protected stack must be decrypted when the stack is opened, a password-protected stack takes longer to open than an unencrypted one, especially if the stack is large.

The password is encrypted when stored in the stack to prevent cracking the password protection. If you get the password of a stack, the property reports true if the stack has a password set and false otherwise.

Important! password-protected stacks may cause some problems when opened in the Revolution development environment. (For example, the Application Browser window cannot display properties of a password-protected stack.) If you want to set a password for stacks before you release them, the recommended method is to set the password on the Stacks screen of the Standalone Application Settings window.

User Comments
Expander triangle