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.
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
If you would like to provide feedback for this course, please e-mail the NICCS SO at NICCS@hq.dhs.gov.