How to run a java process to read/write only to one folder? Has the VM any option to do that?
Asked
Active
Viewed 113 times
0
-
3No, but your operating system surely has some form of permissions system. Run your application with a user that can only access that folder. – Federico klez Culloca Feb 17 '21 at 12:00
-
1You could [use security policies](https://stackoverflow.com/questions/5526008/limiting-file-access-in-java). – dan1st Feb 17 '21 at 12:18
-
Using Windows as an Administrator: How to start a Java process using a standard user for which an folder has read access and all other do not have read access? – beub Feb 18 '21 at 09:10