# Protecting Project Components

The process of protecting individual project components is similar for each type of component.

1. Select the project component to protect, right-click the component and select Protect from the menu.

   Note:
   - When selecting multiple components, such as several Script blocks, the Protect option is available in the right-click menu if one of the selected components has not been protected but can be protected. In addition, the Protect option will also be enabled if none of the selected components has been protected.
   - To protect a Script block or User Script, they must have first been initialized, i.e. a script has been added and compiled.

2. The Protect Component dialog will be displayed, where you can set the password.

   Note:

   - If multiple components have been selected for protection, the dialog will state "[multiple items]" to indicate multiple components are being assigned a password.

   - When multiple components are selected, they must all share the same password.

3. Once a project component is protected, a key icon will be placed beside the protected component:

4. To open the component, you must enter the assigned component password.

Note:

Once a component has been protected, the protection can be removed by following the steps above, but selecting Unprotect from the right-click menu, instead.