I need to be able that a person cannot launch a batch file unless i give them permission.. How do i do this?
Jeroen T Wenting
Ranch Hand
Joined: Apr 21, 2006
Posts: 1847
posted
0
You can't, at least not through Java. You will need to change the file permissions in Windows to disallow execution rights to all users, then set it to execute only for specific users you designate. You will need administrator privileges for this on any workstation the operation has to be performed at.