• Online, Self-Paced
Course Description

In this course, you will learn important concepts for secure Ruby scripting, including validating command-line parameters, using quotation marks correctly, techniques for error and exception handling, using umask to set default file permissions, protecting files, canonicalizing paths, avoiding uncontrolled format string vulnerabilities, preventing or mitigating several common injection vulnerabilities, defending against Regular Expression Denial of Service (DoS) attacks, and protecting sensitive data in transit.

Learning Objectives

On successful completion of this course, learners should have the knowledge and skills for secure Ruby scripting, including:

  • Validating command-line parameters
  • Using quotation marks correctly
  • Handling errors and exceptions
  • Protecting files with default permissions
  • Canonicalizing file paths
  • Avoiding dangerous functions
  • Preventing or mitigating common threats
  • Protecting sensitive data in transit

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.

Feedback

If you would like to provide feedback for this course, please e-mail the NICCS SO at NICCS@hq.dhs.gov.