You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have embedded some external exe files, but I don't want users to find and directly execute my exe files in the application's installation directory. What should I do?
The text was updated successfully, but these errors were encountered:
100% preventing this is impossible to my knowledge. The closest thing would be to inline the executables inside your main app via rust's include_bytes macro, writing them to disk when you need them (antivirus software hates this btw) and deleting them when you're done.
But yeah, even with this approach users will be able to find your exes while you use them but you must write them to disk to run them afaik.
This of course can't use the sidecar feature anymore but the shell's Commands could still start them but since you have to do the extraction on the rust side you could just as well use std Commands.
this is currently out of scope for the plugin so i'll close this issue but feel free to keep the discussion going.
100% preventing this is impossible to my knowledge. The closest thing would be to inline the executables inside your main app via rust's include_bytes macro, writing them to disk when you need them (antivirus software hates this btw) and deleting them when you're done. But yeah, even with this approach users will be able to find your exes while you use them but you must write them to disk to run them afaik.
This of course can't use the sidecar feature anymore but the shell's Commands could still start them but since you have to do the extraction on the rust side you could just as well use std Commands.
this is currently out of scope for the plugin so i'll close this issue but feel free to keep the discussion going.
I have embedded some external exe files, but I don't want users to find and directly execute my exe files in the application's installation directory. What should I do?
The text was updated successfully, but these errors were encountered: