Jurgen RuttenforZeroTrustCodezerotrustcode.hashnode.devยทNov 20, 2024Insecure usage of java.nio.file.PathImagine you need a method to delete a file based on a parameter (for example: the filename) The folder structure is as following: src main resources file: bad.txt allowed good.txt Then you could write something such as: def deleteFile(...ScalaAdd a thoughtful commentNo comments yetBe the first to start the conversation.