What is the best way to pass parameters to a forked script securely? E. g. passing parameters through command line operands is not secure, since someone who has an account on the host can run ps
and see them.
Unnamed pipe is quite secure, as far as I understand, isn't it? I mean, passing parameters to STDIN
of the forked process.
What about passing parameters in environment vars? Is it secure?
What about passing parameters by other means I didn't mention?