IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New That's what the java secutiry docs said
The default security is to protect the system from the developers, like in a hosting environment. Though if I were doing hosting, I'd have a separate jvm for each vhost.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New If you were doing hosting, you'd go broke
The default security is to protect the system from the developers, like in a hosting environment. Though if I were doing hosting, I'd have a separate jvm for each vhost.

A jvm takes up a lot of RAM. A single server can serve a lot of vhosts. If you don't share the jvm, then you'll run out of RAM with a lot fewer vhosts than someone who does.

Sure, sharing is less secure. It also reduces your costs a lot, allowing you to charge less. Since virtual hosting is a commodity, prices are very competitive and corners like this get cut.

Incidentally the same factor goes a long ways towards explaining why it is easier to get a cheap hosting service to give you PHP than mod_perl. When you have mod_perl you wind up with such open access that you can't prevent one user from interfering with another, so you have to separate them more. PHP is limited enough that you can fairly safely load it into a shared server. So everyone provides PHP, but to get mod_perl you pretty much need to own your own server.

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
     How do I control file access in Java? - (drewk) - (14)
         What user is Tomcat running as? - (admin) - (8)
             Running as tomcat4 -NT - (drewk) - (7)
                 Re: Running as tomcat4 - (admin) - (6)
                     I chmod-ed 777 to make sure - (drewk) - (5)
                         What is this "policytool" of which you speak? - (admin) - (4)
                             Trying now -- cool, seems to work[1] - (drewk) - (3)
                                 If it's your server... - (admin) - (2)
                                     That's what the java secutiry docs said - (drewk) - (1)
                                         If you were doing hosting, you'd go broke - (ben_tilly)
         System.exec("chmod " + options + " " + filename)? -NT - (tuberculosis) - (4)
             Yes, that what I have in mind now - (Arkadiy) - (3)
                 Wasn't that - (drewk) - (2)
                     You're talking about JVM's access to external files - (Arkadiy)
                     You're only now starting to wonder? - (ben_tilly)

Ninety-none-point-lots-of-nines percent of the galaxy is empty blackness.
279 ms