This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: JSP Servlet container / WEB server
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: java at gcc dot gnu dot org, Lars Andersen <lars at rimfaxe dot com>
- Date: Sun, 20 Jul 2003 07:54:29 -0500
- Subject: Re: JSP Servlet container / WEB server
- Reply-to: gnustuff at thisiscool dot com
Hi Andrew,
> > I know you said to continue the discussion elsewhere, but I've got one
> > gcj-related question which may or may not be sacrilegious for this list.
> > Doesn't running the webserver and compiled JSPs as native code
> > potentially bypass all of Java's purportedly wonderful security features?
> > I don't recall if I'm remembering this correctly, but isn't gcj somewhat
> > lacking in things like class verification and maybe even security checks?
>
>This is true. The gcj libraries don't implement the Java security
>sandbox.
Do they not implement this at all? Maybe not a true applet sandbox, but I
see lots of SecurityManager calls in the net code for example. I haven't
followed these to see if they lead anywhere, though.
> > I know there are a million ways to secure a webserver, but I kind of
> > like the idea of a real JVM being sort of a safety net.
>
>It's not the jvm that provides this, but the libraries -- there's no
>reason fully compiled Java can't be just as secure as a conventional
>VM.
You're right. Java code is JITed a lot anyway. I guess I have prejudices that
I have to discard even though I work with gcj myself!
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/