Does anyone use BetterAuthorizationSample?
Question
On OS X privileged operations are done through AuthorizationExecuteWithPrivileges() around which Apple published two recommendations:
The old MoreAuth using setuid helper tools.
The current BetterAuthorizationSample littering the system with launchd files.
I don't know any applications using the latter...
Solution
I've used it, and it's a pain to implement. FWIW, I know that BBEdit and PGP Desktop use it.
OTHER TIPS
I'm trying to use it at the moment. The only objection I have is that when one deletes my application the helper tool stays where it is.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow