tomcat security with virtual hosts

N

noemail12000

Hi All!
can somebody give me advice how to set permissions for tomcat the best
way?
the owner for my tomcat directory is tomcat.tomcat .
now I'm going to create a few virtual host . do I need to create a new
linux user for each new virtual host? and set owner of
tomcat/webapps/app1 to user1.user1 , for example?

I'm going to use postgresql as db. do I need to create a new db for
each virtual host as postgres and then just give rights to user1 for
update/delete/etc ?

thanks!
 
I

IchBin

Hi All!
can somebody give me advice how to set permissions for tomcat the best
way?
the owner for my tomcat directory is tomcat.tomcat .
now I'm going to create a few virtual host . do I need to create a new
linux user for each new virtual host? and set owner of
tomcat/webapps/app1 to user1.user1 , for example?

I'm going to use postgresql as db. do I need to create a new db for
each virtual host as postgres and then just give rights to user1 for
update/delete/etc ?

thanks!
I would run Apache2 in front of Tomcat to do all of the security stuff
and manage the virtual hosts.

A good newsgroup for this info would be: alt.apache.configuration
They are very responsive to questions of this nature.


Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,280
Latest member
BGBBrock56

Latest Threads

Top