Class Scorm2004PathSecurityRule

java.lang.Object
dev.jcputney.elearning.parser.validators.rules.scorm2004.Scorm2004PathSecurityRule
All Implemented Interfaces:
ValidationRule<Scorm2004Manifest>

public class Scorm2004PathSecurityRule extends Object implements ValidationRule<Scorm2004Manifest>
Validates that all file paths in SCORM 2004 manifest are safe and don't contain directory traversal patterns, absolute paths, or external references.

Security Requirements:

  • No path traversal (../ or ..\)
  • No absolute paths (/path or C:\path)
  • No external URLs (http://, https://, //)
  • No null bytes or control characters
  • Constructor Details

    • Scorm2004PathSecurityRule

      public Scorm2004PathSecurityRule()
  • Method Details