java.lang.Object
dev.jcputney.elearning.parser.validators.rules.common.PathSecurityRule
All Implemented Interfaces:
ValidationRule<Scorm12Manifest>

public class PathSecurityRule extends Object implements ValidationRule<Scorm12Manifest>
Validates that all file paths in the 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

    • PathSecurityRule

      public PathSecurityRule()
  • Method Details