NSTemporaryDirectory() and security
NSTemporaryDirectory() and security
- Subject: NSTemporaryDirectory() and security
- From: Jaime Magiera <email@hidden>
- Date: Tue, 1 May 2007 14:10:10 -0400
Good afterevenmorning,
In all of my cocoa document-based applications, I've used
NSTemporaryDirectory() as storage for render files, etc. This seems
to be the suggested method...
http://developer.apple.com/documentation/MacOSX/Conceptual/
BPFileSystem/Articles/WhereToPutFiles.html#//apple_ref/doc/uid/
TP40001411-109669
However, there is a security issue, in the eyes of some, that writing
to /tmp is bad. So, they have it cordoned off on their systems.
Another issue would be if a user was rendering content that they
didn't want other users (such as those logged via SSH) to see.
What are the options/suggestions for tmp file writing that is secure
but also follows Apple's guidelines? What are other folks doing?
thanks,
Jaime Magiera
Sensory Research Network
http://www.sensoryresearch.net
_______________________________________________
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:
This email sent to email@hidden