Jurgen RuttenforZeroTrustCodezerotrustcode.hashnode.devยท20 hours agoInsecure 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.