I want to use a pipe to pass some security credential information from process1 to another script. I only want authorized reader processes to be permitted to read the pipe. I am thinking I will create a temp pipe with process1, and only write to the pipe if the reader is a process is digitally signed or has a chksum that has been registered prior to the run.  Has anyone done something similar and have any suggestions?
Limiting readers on a pipe
scripting;security;pipe;lsof;checksum