• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"Safe" frameworks for privileged tools?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"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


  • Follow-Ups:
    • Re: "Safe" frameworks for privileged tools?
      • From: "stephen joseph butler" <email@hidden>
  • Prev by Date: Re: Using OSMemoryBarrier() with KVO
  • Next by Date: NSArrayController vs NSImage sort indicator image
  • Previous by thread: Master-Detail binding in User Defaults
  • Next by thread: Re: "Safe" frameworks for privileged tools?
  • Index(es):
    • Date
    • Thread