ssl - How to achieve some measure of "privilege separation" with Java web-server? -


i'm trying proactive around security on jetty web-server boxes -- especial regards storing ssl key information although i'd generic solution. apache uses privilege separation starts root can read protected ssl key files (and other secure configuration) , switches common user server http requests. java has no mechanism doing this.

any recommendations around how achieve same level of security in java web application? requires include:

  • secret information should readable root.

  • any passwords unlock keys , should not configured code same user level permissions server can't them easily.

  • i'm running under amazon ec2 want security automatic possible -- i.e. no interactive password entering operators.

one possibility use ~ldap separate secret information application , bake ldap access username/password application. i'm looking better solution.

thanks information.

edit:

i'd hoped solutions covered ssl took account other secrets wanted limit access to. did not make clear enough in initial post.

the apache technique described provided optional jetty-setuid features.

see http://www.eclipse.org/jetty/documentation/current/setuid.html


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -