Re: Read Protected File
Re: Read Protected File
- Subject: Re: Read Protected File
- From: Ken Thomases <email@hidden>
- Date: Fri, 4 Feb 2011 10:33:09 -0600
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 (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