java - Host Environment Security -


i reading article explained how java can used run unix commands. isn't possible threat environment application deployed in? measures can host system (assuming unix/linux environment) use prevent malicious scripts being run?

the host system won't take extraordinary measures beyond common platform itself. admin, implementers, or users restrict can happen on platform, , follow best practices.

some best practices:

  1. for servers, best server processes run restricted user, , not root or privileged user. create sandbox user process.
  2. separate out http server (which might require root privileges bind port 80), application server, , have them run under separate users.
  3. make sure user server processes have access local home, or dedicated user space, , no other parts of host system.
  4. do not trust program (whether java program or not), if comes shady origin.

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -