|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^4: Is data in RAM insecure, or am I just paranoid?by Solo (Deacon) |
| on Jul 15, 2004 at 23:41 UTC ( [id://374893]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Update: Okay, my first stab at a reply was too 6-o'clock news sensational... here it goes again. Since this is a shared IIS server, I wouldn't consider data in RAM safe. At the very least, how do you ensure physical security of the server, console access, remote logon? Okay, this is a problem faced a lot though, and generally accepted practices prevail. Supposing ActiveState Perl is installed, there are 2 ways Perl CGI can be run: in-process and out-of-process. Perl for ISAPI handles CGI's in-process and perl.exe handles them out-of-process. Perl for ISAPI's perldoc says:
The main advantage of PerlIS over perl.exe is that PerlIS runs as a DLL in the web server's process space. Because Win32 platforms set up a protected memory space for each process that is started, there's a lot of overhead in starting a new process or program. Passing scripts to an interpreter, such as perl.exe, requires starting a new process for every script, which gets expensive in terms of system resources. Draw your own conclusions (from extensive testing). There is also the possibility of a trojan perl.exe being installed on the server... how can you verify it? Or a trojan cgi script (if the ftp password is snagged--or file permissions are weak--or the shared admins are criminal). Yuk. I would be paranoid... but I usually am. YMMV.
--Solo
--
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||