A group node with some python code to allow you to password protect your nuke script
nukePasswordProtect
Updated: 18 June 2014
Author: Dragoby
Compatible Nuke versions: 8.0 or later
Compatibility:
This is a node I threw together while teaching myself some more python snippets. What the tool allows you to do is password protect your nuke script. the tool is completely standalone and will work with any scripts.
The tool isnt a .gizmo or .py it is a group node to allow it to be standalone and not corrupt the script incase the gizmo isnt installed on another computer.
to install the node just copy the text from the attached text document and paste in your node graph
the default password is pass and can be easily changed by typing in a new one in the nodes properties.
to have the node actually take effect you will need to add this to your onScriptLoad callback under the project settings python tab
nuke.toNode('Password').knob('lock1').execute()
then just save the script and next time the script is opend it will prompt you for a password, if cancel is pressed it will just close
take note if you leave the password empty on the node your script will be inaccessible unless you open your .nk file in a text editor and delete the node from there. doing so may corrupt your nuke save