If a servlet is loaded from the zone /home/bob will it have the same
restrictions as user bob? If so, how can I set that up?

I inserted questions into the msg below that seem to call this ablility
into question.

Re: Apache JServer, Subdirectories and Packages
Ari Halberstadt wrote:

> In httpd.conf:
> 
> ApJServMount /servlets/brian /brian
> ApJServMount /servlets/alice /alice
> ApJServMount /servlets/bob /bob
> 
> In jserv.properties:
> 
> wrapper.bin=/usr/local/java/jdk/bin/java
> wrapper.classpath=/usr/local/jserv/lib/Apache-JServ.jar
> wrapper.classpath=/usr/local/java/lib/jsdk.jar
> wrapper.classpath=...classes you want everyone to share...
> ...
> zones=brian
> brian.properties=/home/brian/servlets/jserv.brian.properties
> zones=alice
> alice.properties=/home/alice/servlets/jserv.alice.properties
> zones=bob
> bob.properties=/home/bob/servlets/jserv.bob.properties
>

Is there a way to set this up to restrict a user's servlets to accessing
only the user's home directory? The alice.properties files below seems
to indicate that she can load servlets from anywhere.

> In alice.properties:
> 
> repositories=/home/bob/servlets
> repositories=/home/bob/java/alice-classes.jar
> servlet.foo.code=gov.ornl.alice.foo
> servlet.foo.initArgs=foobar=3

What about write access? Can Alice use her servlets to write anywhere or
can that just be restricted to her directory?

--Mark Ashworth


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://www.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to