Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 16526306, Entry date: 02/07/2011

How do assign a know-how protection to C scripts and VBS scripts?

  • Entry
  • Associated product(s)

You can provide a know-how protection to self-created scripts in the form of project functions, actions, global actions (C scripts) and as from WinCC V6.0 also in the form of project modules, standard modules and actions (VBS scripts). 

You cannot protect C scripts and VBS scripts in pictures. If you nevertheless want to protect the data in the scripts in pictures, you should write your instructions in global actions and then call those global actions in the pictures.


In the Global Script Editor select an action/function, go to the menu item "Edit > Info" and assign a password for the selected action/function.

Information about this topic is available in the WinCC Information System under the keyword "How to protect an action against access and change".

As from SIMATIC WinCC V6.0
As from WinCC V6.0 there is the Global Script VBS editor in addition to the Global Script C editor.

  • In the Global Script C editor the know-how protection works as described above for WinCC V5.x.
  • In the Global script VBS editor the selected action or project module can be protected with a password under the menu item "Options > Info / Trigger".

Information on the topic of password protection is available in the WinCC Information System in the paths below.

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit