Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Restrict who can use an Encrypted File

  • Last UpdatedNov 13, 2025
  • 1 minute read

If you wish to not only encrypt a pml file, but also to restrict the sites at which it can be run, you can include extra tests within the pml before encrypting it. For example, the q banner company command returns a company dependent string from the license file, and you can test that within your encrypted pml file. In this case the test is that the string includes "AVEVA".

var !company banner company

if not !company.matchwild('*AVEVA*') then

return error 99 'This file is not authorised for $!company'

endif

Related Links
TitleResults for “How to create a CRG?”Also Available in