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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.