[Video] my API accepts filenames or file paths as input

If your API accepts a filename or a file path as input, it’s important your API validates that input.

Because hackers often use this type of input to get unauthorized access to files and directories on an API server.

Learn best practices to avoid path traversal (a.k.a. directory traversal) in your API code…