Re: authorization services
Re: authorization services
- Subject: Re: authorization services
- From: "Rick C." <email@hidden>
- Date: Mon, 24 Aug 2009 06:10:35 -0700 (PDT)
hi again,
if i can follow up please about authorization services i just want to be sure i'm on the right track. if i'm just trying to do a simple movePath but i don't have access is the only way to get access by using authorizationExecuteWithPrivileges? i keep reading about how i should avoid it if possible. i have followed authorizing in a simple self-restricted application according to the docs but i don't really see what i can do after i get authorization...maybe i'm missing something? i guess i'm just looking for confirmation if i must use authorizationExecuteWithPrivileges or not, and if so can i control the timeout because the docs seem to say it needs authentication every time. thanks again for the help and patience,
rick
________________________________
From: Kyle Sluder <email@hidden>
To: Rick C. <email@hidden>
Cc: cocoa dev <email@hidden>
Sent: Monday, August 24, 2009 2:08:07 PM
Subject: Re: authorization services
Avoid using NSTask with Authorization Services in any pattern other than that illustrated in the documentation.
Using AppleScript for this sounds like severe overkill. And shelling out to a script is not a good idea when filenames or special characters are involved.
Learn and use Authorization Services. Don't make your app needlessly slow, and don't expose your users to fragility or potential security problems. :)
--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