On Feb 4, 2011, at 7:10 AM, Jeremy Matthews wrote:

> I'm trying to read a protected file (one which I don't have rights to 
> access). The only way I know around this is with an Authorization routine + 
> NSTask, or to create a Helper Tool. 
> Is there a better way?

Don't know if it's better, but you can use the "authopen" command.  
http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/authopen.1.html

Cheers,
Ken

_______________________________________________

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 arch...@mail-archive.com

Reply via email to