Re: Configure read/write-access in TomCat

2010-08-22 Thread Mark Thomas
On 20/08/2010 18:56, André Warnier wrote: Mark Thomas wrote: On 18/08/2010 13:32, André Warnier wrote: What do you mean by write ? There is nothing in tomcat itself which allows users to write anywhere on the server. I know I am coming late to this thread but to be pedantic that is not

Re: Configure read/write-access in TomCat

2010-08-22 Thread André Warnier
Mark Thomas wrote: On 20/08/2010 18:56, André Warnier wrote: Mark Thomas wrote: On 18/08/2010 13:32, André Warnier wrote: What do you mean by write ? There is nothing in tomcat itself which allows users to write anywhere on the server. I know I am coming late to this thread but to be

Re: Configure read/write-access in TomCat

2010-08-20 Thread Mark Thomas
On 18/08/2010 13:32, André Warnier wrote: What do you mean by write ? There is nothing in tomcat itself which allows users to write anywhere on the server. I know I am coming late to this thread but to be pedantic that is not correct. Tomcat supports HTTP PUT (implemented in the default

Re: Configure read/write-access in TomCat

2010-08-20 Thread André Warnier
Mark Thomas wrote: On 18/08/2010 13:32, André Warnier wrote: What do you mean by write ? There is nothing in tomcat itself which allows users to write anywhere on the server. I know I am coming late to this thread but to be pedantic that is not correct. The above was written with the

Re: Configure read/write-access in TomCat

2010-08-19 Thread Kenneth
My project-name is Server - but I guess that your answer still is correct. Thanks! Den 19-08-2010 05:06, Christopher Schultz skrev: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mr. Andersen, On 8/18/2010 7:16 AM, K A wrote: security-constraint web-resource-collection

Configure read/write-access in TomCat

2010-08-18 Thread K A
Hello I've developed a web-application in which I'd like to have some control of which resources are accessed by whom. My project is called Server in which I've got 3 directories: /user which all roles are allowed to access, /admin which ONLY administrators are allowed to access and resources

Re: Configure read/write-access in TomCat

2010-08-18 Thread Pid
On 18/08/2010 10:44, K A wrote: Hello I've developed a web-application in which I'd like to have some control of which resources are accessed by whom. My project is called Server in which I've got 3 directories: /user which all roles are allowed to access, /admin which ONLY

RE: Configure read/write-access in TomCat

2010-08-18 Thread K A
-classorg.apache.catalina.servlets.DefaultServlet/servlet-class init-param .. Date: Wed, 18 Aug 2010 12:00:39 +0100 From: p...@pidster.com To: users@tomcat.apache.org Subject: Re: Configure read/write-access in TomCat On 18/08/2010 10:44, K A wrote: Hello I've

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
K A wrote: Hello I've developed a web-application in which I'd like to have some control of which resources are accessed by whom. My project is called Server in which I've got 3 directories: /user which all roles are allowed to access, /admin which ONLY administrators are allowed to access

Re: Configure read/write-access in TomCat

2010-08-18 Thread Pid
: Configure read/write-access in TomCat On 18/08/2010 10:44, K A wrote: Hello I've developed a web-application in which I'd like to have some control of which resources are accessed by whom. My project is called Server in which I've got 3 directories: /user which all roles are allowed to access

RE: Configure read/write-access in TomCat

2010-08-18 Thread K A
NOT save new files in a directory. Then they can NOT do any of the other stated actions, right? Or have I misunderstood? Thanks! Date: Wed, 18 Aug 2010 13:32:00 +0200 From: a...@ice-sa.com To: users@tomcat.apache.org Subject: Re: Configure read/write-access in TomCat K A wrote: Hello

RE: Configure read/write-access in TomCat

2010-08-18 Thread K A
the files in the actual directory unless the files are access through a servlet of jsp-page in this case? Date: Wed, 18 Aug 2010 13:13:55 +0100 From: p...@pidster.com To: users@tomcat.apache.org Subject: Re: Configure read/write-access in TomCat On 18/08/2010 12:16, K A wrote: In /tomcat

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
K A wrote: Oh, really? I just guessed that if the user could see the absolute url to used/available files in the application (jsp- or pdf-files) then it was also possible that the user could compromise the files in that directory, overwrite them or even save new files. But you state that

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
K A wrote: Ah, so the web.xaml in /tomcat/conf has nothing to do with the issue - it's only the web.xml in the project itself? The conf/web.xml is the web.xml for the default servlet. The webapps/your-webapp/WEB-INF/web.xml is the one that dictates what happens when users access

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
K A wrote: Ah, so the web.xaml in /tomcat/conf has nothing to do with the issue - it's only the web.xml in the project itself? The conf/web.xml is the web.xml for the default servlet. The webapps/your-webapp/WEB-INF/web.xml is the one that dictates what happens when users access

Re: Configure read/write-access in Tomcat

2010-08-18 Thread Pid
.. Date: Wed, 18 Aug 2010 12:00:39 +0100 From: p...@pidster.com To: users@tomcat.apache.org Subject: Re: Configure read/write-access in TomCat On 18/08/2010 10:44, K A wrote: Hello I've developed a web-application in which I'd like to have some control of which resources are accessed

RE: Configure read/write-access in TomCat

2010-08-18 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat The conf/web.xml is the web.xml for the default servlet. It's a bit more than that, actually. The contents of conf/web.xml are logically merged into a webapp's own WEB-INF/web.xml when

Re: Configure read/write-access in TomCat

2010-08-18 Thread Pid
On 18/08/2010 14:56, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat The conf/web.xml is the web.xml for the default servlet. It's a bit more than that, actually. The contents of conf/web.xml are logically merged

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
Pid wrote: On 18/08/2010 14:56, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat The conf/web.xml is the web.xml for the default servlet. It's a bit more than that, actually. The contents of conf/web.xml

Re: Configure read/write-access in TomCat

2010-08-18 Thread Markus Schönhaber
18.08.2010 16:55, André Warnier: Pid wrote: On 18/08/2010 14:56, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat The conf/web.xml is the web.xml for the default servlet. It's a bit more than that, actually

RE: Configure read/write-access in TomCat

2010-08-18 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat Would you gurus mind pointing out where exactly ? Not sure what you want pointed out. I am looking at the online documentation of Tomcat 7, at http://tomcat.apache.org/tomcat-7.0-doc/index.html

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
Comments at end. Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat Would you gurus mind pointing out where exactly ? Not sure what you want pointed out. I am looking at the online documentation of Tomcat 7, at http

RE: Configure read/write-access in TomCat

2010-08-18 Thread Leo Donahue - PLANDEVX
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat Comments at end. Caldarale, Charles R wrote: Do you know anyone who actually likes to write documentation? André Warnier wrote: Well actually I do. But it this case

RE: Configure read/write-access in TomCat

2010-08-18 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat the process by which Tomcat, for each deplayed webapp, first reads and processes the conf/web.xml, then reads and processes the applications WEB-INF/web.xml, and then merges both according

Re: Configure read/write-access in TomCat

2010-08-18 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat the process by which Tomcat, for each deplayed webapp, first reads and processes the conf/web.xml, then reads and processes the applications WEB-INF/web.xml

Re: Configure read/write-access in TomCat

2010-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mr. Andersen, On 8/18/2010 7:16 AM, K A wrote: security-constraint web-resource-collection web-resource-nameuser open part/web-resource-name url-pattern/Server/user/*/url-pattern /web-resource-collection auth-constraint

Re: Configure read/write-access in TomCat

2010-08-18 Thread Hassan Schroeder
On Wed, Aug 18, 2010 at 8:06 PM, Christopher Schultz ch...@christopherschultz.net wrote: I couldn't see if anyone actually answered your question, here, or just argued about how well-documented conf/web.xml was. Wait, what, those aren't the same? :-) -- Hassan Schroeder