Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTemporaryDirectory() and security



On May 1, 2007, at 2:10 PM, Jaime Magiera wrote:
What are the options/suggestions for tmp file writing that is secure but also follows Apple's guidelines? What are other folks doing?

I haven't done anything like this myself, but I would think ~/Library/ Application Support/YourApp or ~/Library/Caches/YourApp would be a reasonable place for stuff that is temporary, specific to the app, and specific to the user.


If your document is a bundle and you are generating files that you might want to keep around, it might be appropriate to put them in a subdirectory of the bundle. I'm thinking of the way iDVD caches rendering results.

--Andy


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >NSTemporaryDirectory() and security (From: Jaime Magiera <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.