Pre-script security

When you want to create an enterprise-ready script, you need to start with your security components. In Chapter 4, String Encryption and Decryption, you learned the importance of leveraging encoding and encryption to provide added security to your scripts. You can follow several enterprise strategies to ensure that you properly implement encoding and encryption. One of the popular strategies is to create an encryption and decryption salt, init, and password that are shared by all of your scripts. While this is a simpler method from a script management perspective, you provide all departments access to the same encrypted data. Alternatively, you can have the departments create their own encoded salt, init, and passwords for ...

Get Enterprise PowerShell Scripting Bootcamp now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.