I think Apple has one, but to find it, you may have to try to search…
http://developer.apple.com/samplecode/BetterAuthorizationSample/index.html
Le 24 juil. 08 à 15:37, Macarov Anatoli a écrit :
Someone has an example with authorization services.Le 24 juil. 08 à
14:24, Macarov Anatoli a écrit :
HI!
Cocoa, Obj-c.
How to creat a file in the folder that has limited permissions (read-
only)?
Give me example, please.
You can use NSTask and /usr/libexec/authopen (and pipes)
See "man authopen" for details.
If it's not enought, you have to create your own helper tool and deal
with authorization services.
________________________________________________________
Вы уже с Yahoo!?
Испытайте обновленную и улучшенную. Yahoo!
Почту! http://ru.mail.yahoo.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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/devlists%40shadowlab.org
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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]