Widget Designer allows you to lock and/or encrypt single or multiple widgets, nodes, pages, windows or the whole project file. Hence, the Protection Settings are part of many dialogs:
To protect the project, open the Project Settings from the Edit menu.
To protect a page, open its Edit Page dialog either with the right-click menu or from the Pages menu.
To protect a widget, open its Item Properties dialog with the right-click menu or the shortcut [ALT + P].
All passwords can be remembered in Widget Designer so that you do not have to enter them every time. However, this applies only to the current session. After closing the Widget Designer, the passwords will be expired.
You have the possibility to reset all passwords during an open session with Edit > Reset protection passwords...
Please note that the protection settings are rather designed for protecting your data in case of distribution. If you like to set passwords for windows, pages and widgets in order to prevent other people from using them, please use the command WDPasswordDialog. A common example would be a page containing only nodes that should not be accessed by customers using the project.
Activate lock using password
You can choose what should be locked with a specified password:
- Show (the element will not be visible without the correct password, not available at the project's settings)
- Edit (the element is not editable without the correct password)
- Scripts (the element cannot be edited with member methods, such as e.g. Fader1.SetFix or CustomScript2.SetSize(100,50))
A new dialog will appear when you tick the box "Activate..." that requests the password a second time. This happens too, if you change the password.
The same locks can be applied to all child elements of this specific element (e.g: if you set up a password for a window, all pages at this window will require the password, too.)
If any locks were inherited from a parent element, they are displayed here, too.
Encrypt using optional password
This option encrypts the element's data inside the project file, so that it can't be decoded by reading the project file's source code. The project can not be opened without entering the password as well. This might come in useful if you have created complex Composite Nodes and want to distribute them without others being able to see the logic behind it. In this case, you would lock the node with a password against editing in Widget Designer and additionally encrypt the project source code.
Within the text field "Use the following title when prompting for decryption / unlocking" you can add an additional title for the dialog asking for the password.