Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
-none-

-none-

2007-08-15       - By Leon Rosenberg

 Back
security by obscurity, that is.

since the httpd just sends all requests further to the tomcat, if
there is a security relevant bug in tomcat code, it would be accessed
by the remote side either way. Further, are your machines, on which
httpd is running, running under different OS than your tomcat
machines? Cause if they are the same, the same security issue would be
present on both, so the attacker could easily reach the tomcat machine
from the httpd machine via the same hole once he's there.

It sounds like a good idea to put a firewall between tomcat and a db.
But your tomcat machine and your webapp will have to access the db
somehow, so why shouldn't the attacker use the same method to access
your db, once he's on the tomcat machine?

Therefore, your security infrastructure sounds like a good idea, but
in fact it doesn't add any security. Just put a decent firewall
between the internet and your cluster and that is it. Once its passed
your security infrastructure wouldn't prevent the attacker to go on
further.

just 2 cents.

leon

P.S. Btw, some (recently fixed) buffer overflows in mod_jk connector
(and in httpd itself) will actually reduce your security, since httpd
is far less secure than java.

On 8/15/07, Lizak, Ed <EJL@(protected)> wrote:
> We use httpd to sit in between firewalls and handle all incoming traffic.
> Static content is served from there and dynamic content is proxied through
> to the Tomcat server behind another firewall.  SSL is only needed from the
> client to the httpd server.
>
> The Tomcat server then handles the database access which passes through
> another firewall to hit our internal network where the database lives.
>
> I'm not a security expert but it seems like a good idea having your database
> connections far removed from the Internet connection.  At the very least it
> would seem you would have to have multiple layers of server compromised
> before any data is exposed.
>
> Is this not a good reason to use httpd in front of Tomcat?
>
> -EJL
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
>
>
> Matt,
>
> Matthew Kerle wrote:
> > Apart from integration into a larger site or static content, when would
> > you put httpd in front of tomcat?
>
> This might count as "integrating into a larger site", but I use Apache
> httpd to front multiple instances of Tomcat through a single port number
> (by mapping webapps individually through mod_jk). This allows me to
> start and stop a single webapp, upgrade the JVM and/or Tomcat running
> it, and then bring it back up again without disturbing the other
> applications.
>
> - -chris
>
> -- --BEGIN PGP SIGNATURE-- --
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGww/r9CaO5/Lv0PARAihDAKCWoVVHxQF0hCTiIsgFLC0bjMrYyACaAvfr
> sn1AKYvbLyk3Bbap+tyIrsE=
> =Zlq+
> -- --END PGP SIGNATURE-- --
>
>
> IMPORTANT CONFIDENTIALITY NOTICE:    This document, and any documents
> accompanying this transmission, contains confidential, legally protected
> information and is intended only for the person or entity to which it is
> addressed. If you are not the intended recipient, any disclosure, copying,
> distribution or the taking of any action in reliance on the contents of this
> transmission is strictly prohibited. If you receive this transmission in
> error, please contact the sender and delete or destroy the
> material/information.
> Corporate Headquarters <> 10340 Evendale Dr. <> Cincinnati, OH 45241 <>
> 513.563.1400
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.