http://www.perlmonks.org?node_id=76144


in reply to Re: Re: Question of safe data passing...
in thread Question of safe data passing...

Ahh, can't use $0 because then you could just exec the DSN wrapper with the name of a valid script and BAM you have the "frozen" DBI object.

The DSN wrapper must find the name of its caller on its own. And it must get this information from none user corruptable data. So the idea of passing the DSN wrapper a pid and then have the wrapper check proc to make sure the pid matches a allowable script name is also out of the question.




lindex
/****************************/ jason@gost.net, wh@ckz.org http://jason.gost.net /*****************************/