Chapter 21. Security, security, security

 

This chapter covers:

  • 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.

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