Ok, I am still tackling the problem of hiding DBI passwords,
and other data for perl scripts... I have come up with the
idea of compiling them into a C program, which can be
chmod'd non readable... which calls the proper perl script
and passes the data in somehow. Now I am trying to find
a safe unobtrusive way of passing that data to the perl
script... I figure I can either do a system call to run the
perl script or possibly do an exec and blow the C program
away once it has done its thing (preferrable). Now, I am
pretty sure you are able to pass filehandles across programs,
yes? Though I am not sure how to do it... something about
the file descriptor and a < and an & and the file descriptor...
so my thought was maybe to open a temporary file for readwrite
and immediately unlink it, which I believe still leaves me
a filehandle I can use (on unix anyway) but no one else can access
since the filesystem thinks it is gone pretty much... Is this
actually feasible and safe? Is there a better way? I know
the environment and ARGV are not safe, since they are
visible in /proc