RE: Security in cocoon.xconf?

2002-07-02 Thread Vadim Gritsenko

Alban,


  Move cocoon.xconf to WEB-INF/cocoon.xconf, as in latest
  Cocoon versions. This is a bit more secure location then before.

 I don't quite understand how it helps? 

You get more secure installation.


 Having cocoon.xconf in the cocoon is insecure?

Define 'insecure'.


 Some explanations
 would be greatly appreciated because I need to evaluate the
 security issue of cocoon before spending a full development
 effort in cocoon.

1. When cocoon.xconf is directly under webapp, security of the
cocoon.xconf is highly dependent on (known or not) vulnerabilities of
the servlet container.

2. When cocoon.xconf is under WEB-INF, security of the cocoon.xconf is
still highly dependent on (known or not) vulnerabilities of the servlet
container. But, in this case, Servlet specification (IIRC) explicitly
states that these files must not be exposed by the servlet container.

I can't explain clearer than this, please refer to servlet spec and your
servlet container's security guide.

PS I will CC users list, this might be of interest to someone else. Or,
someone else may want to express his opinion and/or experience.


Vadim



-Original Message-
From: Tsui, Alban [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 02, 2002 9:44 AM
To: [EMAIL PROTECTED]
Subject: RE: Security in cocoon.xconf?

Hi Vadim, 
The following is your reply to my original email at the forum: 
 Move cocoon.xconf to WEB-INF/cocoon.xconf, as in latest Cocoon
versions. This is a bit more secure location then before. Vadim 
I don't quite understand how it helps? Having cocoon.xconf in the cocoon
is insecure? Some explanations would be greatly appreciated because I
need to evaluate the security issue of cocoon before spending a full
development effort in cocoon.
Thanks in advance. 
Alban 




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Security in cocoon.xconf?

2002-07-01 Thread Vadim Gritsenko

Move cocoon.xconf to WEB-INF/cocoon.xconf, as in latest Cocoon versions.
This is a bit more secure location then before.


Vadim

-Original Message-
From: Tsui, Alban [mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 28, 2002 10:32 AM
To: [EMAIL PROTECTED]
Subject: Security in cocoon.xconf?

I have setup database connection in cocoon.xconf but the username and
password are required in cocoon.xconf. How secure if cocoon.xconf? Will
crashes or any tricks expose this information to the clients or other
servlets?
If so, any measure that I can take to hide such information? I am using
cocoon 2.0.1. 

Alban 
This message may contain privileged and/or confidential information.  If
you have received this e-mail in error or are not the intended
recipient, you may not use, copy, disseminate or distribute it; do not
open any attachments, delete it immediately from your system and notify
the sender promptly by e-mail that you have done so.  Thank you.


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]