Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: mod_perl2 interactive startupby amino (Initiate) |
on Aug 18, 2009 at 01:46 UTC ( [id://789323]=note: print w/replies, xml ) | Need Help?? |
> Why don't you just check to see if the variable where you put the password has been filled in yet, and skip the terminal if you already have it?
Because the mod_perl app restarts completely, so at least in the perl (as far as I know), no variables or structures persist. Is it possible to store stuff in the apache object? >Incidentally, it's not really more secure to enter the password this way than to just keep it in a file that only the web server startup user can read. I disagree. If the startup user account gets compromised its very easy to read a file and get a password. I believe the bar is a lot higher to extract data from a running program. How would you go about retrieving a password from a running program?
In Section
Seekers of Perl Wisdom
|
|