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 NICE Framework Task, Knowledge, and Skill statements identified within the indicated NICE Framework component(s):
Specialty Areas
- Software Development
Feedback
If you would like to provide feedback on this course, please e-mail the NICCS team at NICCS@mail.cisa.dhs.gov. Please keep in mind that NICCS does not own this course or accept payment for course entry. If you have questions related to the details of this course, such as cost, prerequisites, how to register, etc., please contact the course training provider directly. You can find course training provider contact information by following the link that says “Visit course page for more information...” on this page.