"Safe" frameworks for privileged tools?
"Safe" frameworks for privileged tools?
- Subject: "Safe" frameworks for privileged tools?
- From: Michael Watson <email@hidden>
- Date: Tue, 22 Apr 2008 23:52:45 -0400
Hey all,
I'm writing a privileged helper tool that at one point needs to
determine if a given directory is a package. Normally, I'd use
NSWorkspace, but that's part of AppKit, which is tied to Window
Server. I don't link to AppKit in my privileged tool, so I don't get
the oh-so-convenvient -isFilePackageAtPath: method.
I would like to use LaunchServices for this, but wasn't sure if it was
kosher to link to ApplicationServices.framework from a privileged
tool. Are there guidelines as to which frameworks should and shouldn't
be used in privileged tools? I know nothing can ever be "safe", but
some are surely more dangerous than others, and I'd love some guidance.
--
m-s
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden