qzind / tray

Browser plugin for sending documents and raw commands to a printer or attached device.
https://qz.io
Other
823 stars 266 forks source link

File requests is not verified #1244

Closed aletznotop closed 3 months ago

aletznotop commented 3 months ago

Error in .net asp aplications.

Everytime i try to write in a folder/file.txt, QZ sends me this error

Error: FileIO exception occurred: AccessDeniedException: File requests is not verified

QZ Logs: [ERROR] 2024-03-07T19:30:57,741 @ qz.ws.PrintSocketClient:180 FileIO exception occurred java.nio.file.AccessDeniedException: File requests is not verified at qz.utils.FileUtilities.checkFileRequest(FileUtilities.java:243) ~[qz-tray.jar:?] at qz.utils.FileUtilities.getAbsolutePath(FileUtilities.java:264) ~[qz-tray.jar:?] at qz.ws.PrintSocketClient.processMessage(PrintSocketClient.java:602) ~[qz-tray.jar:?] at qz.ws.PrintSocketClient.lambda$onMessage$0(PrintSocketClient.java:169) ~[qz-tray.jar:?] at java.lang.Thread.run(Unknown Source) [?:?]

Using qz version 2.2.3

tresf commented 3 months ago

For security reasons, File IO operations must be signed. This is by design. If you wish to override this, you may override the value security.file.strict, which can be done in qz-tray.properties, via an environment variable QZ_OPTS, or via a command line flag.

aletznotop commented 3 months ago

Thank you