Do you want to prevent all users from access the file system, or permit
individual users access to their own part?

Peter Crowther wrote:
>> From: Vaclav Kaspar [mailto:[EMAIL PROTECTED] 
>> For security reasons I 
>> need JSP scripts to run under different users
> 
> A single JVM runs as a single user.  To my knowledge, there's no way of
> setting threads in a JVM to run as different users, so you're pretty
> much stuck if you want to run in a single JVM.
> 
> A typical solution to this would be to run each user's webapp in its own
> Tomcat in its own JVM.  This also allows a greater degree of security
> between webapps - otherwise, it could be possible for a badly-behaved
> webapp to hog resources or gain control over another webapp.  You then
> need some kind of front-end to the multiple JVMs: Apache httpd plus the
> JK connector, or your reverse proxy of choice.
> 
>               - Peter
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to