• 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
Authorized Copy/Erase (NSFileManager)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Authorized Copy/Erase (NSFileManager)


  • Subject: Authorized Copy/Erase (NSFileManager)
  • From: Joe Turner <email@hidden>
  • Date: Sat, 29 Nov 2008 16:54:53 -0600

So, I'm creating a copy/erase tool for an app, and I need to be able to authorize the user so I can copy and delete files that need Admin permissions. I have looked thoroughly through the Security.framework, but could not find anything. I do not want to do a shell script, so I would rather not use the authorized execute command. Is there a way to do this?

And if there is, what is the best way to only have the user type their password once (using the Security framework), and never have to again the next time the app launches?

Thanks

----------------------------------------
Joe Turner
NiceMac LLC programmer

_______________________________________________

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: Authorized Copy/Erase (NSFileManager)
      • From: "Michael Ash" <email@hidden>
  • Prev by Date: Re: QuartzCore and CIContext
  • Next by Date: Re: reading a PDF
  • Previous by thread: Rollover on custom Cells
  • Next by thread: Re: Authorized Copy/Erase (NSFileManager)
  • Index(es):
    • Date
    • Thread