Chapter 13. Security, security, security

13.1

Introduction to security

441

13.2

Security modeling

443

13.3

Securing the PowerShell environment

449

13.4

Signing scripts

453

13.5

Writing secure scripts

465

13.6

Summary

474

 

With great power comes great responsibility.

 
 --Stan Lee, The Amazing Spiderman

In this chapter, we’ll review security modeling concepts, and then look at the security features in PowerShell. We’ll also look at how to write secure scripts in PowerShell. Boring, you say. Do we really need to know this stuff? Yeah, we do. In a connected world, security is incredibly important. A small mistake can have huge consequences. People will talk about a “zone of influence”—the idea that something that happens far away can’t impact us. This idea is basically ...

Get Windows PowerShell in Action 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.