in reply to Mod Perl Usage on Virtual hosted domains
For example, I could execute the following code in my module:
And now your code when it loads with the nearly-required use strict will execute my trojan horse.BEGIN { *strict::import = sub { die "ho ho ho" } }
There's no real way to protect against that. One shared persistent interpreter is one shared persistent interpreter.
You can run mod_perl in the "virtual host" solutions where each user has a completely independent Apache process group, sharing only the CPU.
But don't count on a mod_perl solution where you and others are all sharing the same Apache processes. It won't happen, for all the right reasons.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Mod Perl Usage on Virtual hosted domains
by Aristotle (Chancellor) on Oct 19, 2002 at 21:12 UTC | |
by crazyinsomniac (Prior) on Oct 20, 2002 at 16:56 UTC |