Does the java application permissions extends for created processes? i.e. if application hasn’t permissions to create file and I’m running someprogram.exe from this application, then is it restricted too?
If no then how can I restrict created processes? Another thing I want to do is to restrict the memory used by subprocess. Please help
It’s not absolute clear to me, what kind of permissions you’re talking about.
The Java security settings are per application restrictions. They affect java code that runs inside one java virtual machine. If you call an executable, than that executable will not inherit those permissions.
Other permissions are per user permission. So if you don’t have the permission to create a file in a certain folder, then the Java application that you started won’t have the permission and any executable started from the java vm won’t have permission too.