• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Read Protected File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Read Protected File (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: Re: Smoothly decimating UIImageView images
  • Next by Date: Re: Best Approach in displaying the Image in Core Animation Layer - During the animation
  • Previous by thread: Read Protected File
  • Next by thread: Best text rendering settings?
  • Index(es):
    • Date
    • Thread