Authorized Copy/Erase (NSFileManager)
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