有人使用 BetterAuthorizationSample 吗?

发布于 2024-07-15 22:15:57 字数 211 浏览 3 评论 0原文

在 OS X 上,特权操作是通过 AuthorizationExecuteWithPrivileges() 完成的,Apple 围绕该建议发布了两个建议:

使用 setuid 辅助工具的旧 MoreAuth。

当前的 BetterAuthorizationSample 在系统中散布着 launchd 文件。

我不知道有任何应用程序使用后者......

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...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

青衫负雪 2024-07-22 22:15:57

我已经使用过它,实施起来很痛苦。 FWIW,我知道 BBEdit 和 PGP Desktop 使用它。

I've used it, and it's a pain to implement. FWIW, I know that BBEdit and PGP Desktop use it.

廻憶裏菂餘溫 2024-07-22 22:15:57

我现在正在尝试使用它。 我唯一反对的是,当有人删除我的应用程序时,辅助工具仍保留在原处。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文