On Sun, Oct 31, 2010 at 9:31 AM, eveningnick eveningnick <[email protected]> wrote: > Hello > How, using an ordinary application (started by "doubleclicking" from > /Applications), i could create/modify/delete that file? > Is it possible at all, according to OS X current security model?
Not unless the permissions for that file are incorrect - not a situation I'd be willing to depend on. > Maybe i could display a "User login" inbox somehow then, to let user > authorise to perform that operation? What API should i use then? Authorization Services: <http://developer.apple.com/library/mac/#documentation/Security/Conceptual/authorization_concepts/01introduction/introduction.html> > My application - is an ordinary Cocoa app, created using XCode You'll need to create a separate "helper tool" that has admin privileges. After reviewing the "Concepts" section, have a look at the "Authorizing in a Factored Application" section under "Tasks." sherm-- -- Cocoa programming in Perl: http://camelbones.sourceforge.net _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
