• 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: Download images and modify bundle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Download images and modify bundle?


  • Subject: Re: Download images and modify bundle?
  • From: Michael Watson <email@hidden>
  • Date: Sun, 4 Jul 2010 17:54:10 -0700

On 02 Jul, 2010, at 04:47, Andreas Mayer wrote:

>
> Am 02.07.2010 um 10:01 Uhr schrieb sebi:
>
>> When I download an image and want to keep it for further reference, I assume I have to store it in the documents directory and not in the app bundle, because otherwise I would invalidate the signature and the app wont run anymore. Is this correct?
>
> You should always regard the app bundle as read only. The application might have been installed with administrator rights so that the current user does not have write access.
>

To carry this a bit further, your application might not even reside on a volume to which the user could /ever/ have write access, regardless of permissions. Read-only disk image? DVD? Read-only network share? These are all possible scenarios for which an application should be prepared.

(I realize the thread wound up being about iPad, but this is a good thing to point out in general.)


--
mikey

_______________________________________________

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: 
 >Download images and modify bundle? (From: sebi <email@hidden>)
 >Re: Download images and modify bundle? (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: NSAttributedString & iOS 4
  • Next by Date: Continuous zoom in MKMapView
  • Previous by thread: Re: Download images and modify bundle?
  • Next by thread: Re: Download images and modify bundle?
  • Index(es):
    • Date
    • Thread