Passing Around AuthorizationRefs
Passing Around AuthorizationRefs
- Subject: Passing Around AuthorizationRefs
- From: James Masasaki <email@hidden>
- Date: Thu, 23 Oct 2003 15:44:25 -0700
Is it possible to pass an AuthorizationRef from one application or
process to another?
Yes, I know that security-wise it is not the best idea, but
technically is it possible and will the AuthorizationRef work in the
app that it is passed to if the sender was the app that created it?
There are times when one app wants to launch another app as part of
its architecture and the child app needs to repeatedly make access
that requires authentication, but doesn't want to continuously prompt
the user with endless authorization dialogs every time it needs to do
a privileged operation.
Is it possible to have the parent app create the AuthorizationRef,
have the child process copy it via
AuthorizationCreateFromExternalForm, and then have the child process
use it?
Thanks,
James
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.