Re: [Q] copy operation and authorization
Re: [Q] copy operation and authorization
- Subject: Re: [Q] copy operation and authorization
- From: Kyle Sluder <email@hidden>
- Date: Thu, 12 Nov 2009 14:24:11 -0800
On Thu, Nov 12, 2009 at 9:44 AM, JongAm Park
<email@hidden> wrote:
> Should I use AuthorizationExecuteWithPrivileges() and invoke an external
> command like "cp"?
No. Do not do this. Follow the pattern of BetterAuthorizationSample:
http://developer.apple.com/mac/library/samplecode/BetterAuthorizationSample/listing4.html
--Kyle Sluder
_______________________________________________
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