Chapter 21. Security, security, security

21.1 Introduction to security
21.2 Security modeling
21.3 Securing the PowerShell environment
21.4 Signing scripts
21.5 Writing secure scripts
21.6 Using the SecureString class
21.7 Summary

Oh brave new world, that has such people in it!

Miranda in William Shakespeare’s The Tempest

In this chapter, we’ll explore the topics of security and secure programming to see how they impact PowerShell. In contrast to the previous chapters where our focus has been on what people can do with PowerShell, with security our focus is on how to prevent people (or at least the wrong people) from doing things. This switch is radical but it’s the essence of security.

We’ll begin the chapter by introducing security-modeling ...

Get Windows PowerShell in Action, Second Edition now with O’Reilly online learning.

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