PowerShell-Docs icon indicating copy to clipboard operation
PowerShell-Docs copied to clipboard

Add topic about best practices for writing secure code

Open TravisEz13 opened this issue 1 year ago • 2 comments

Prerequisites

  • [X] Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • [X] Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Document new Get-Foo cmdlet" instead of "New cmdlet."

PowerShell Version

7.4

Summary

We have two scenarios:

  1. Writing secure code in general 2. Don't rely on auto-loading 3. Import the modules you use or use module qualified invocation
  2. Writing code for Constrained Language Mode

Details

No response

Proposed Content Type

About Topic

Proposed Title

No response

Related Articles

  • https://devblogs.microsoft.com/powershell/powershell-security-best-practices/
  • https://learn.microsoft.com/en-us/mem/configmgr/apps/deploy-use/learn-script-security

TravisEz13 avatar May 26 '23 17:05 TravisEz13