Re: Preview in Internet Explorer
Re: Preview in Internet Explorer
- Subject: Re: Preview in Internet Explorer
- From: Matt Judy <email@hidden>
- Date: Sun, 07 Jul 2002 03:14:12 -0700
That is true, however, /tmp is accessable by any user. Web pages can be
of a confidential nature, and the temp files should not be visible to
other users, even if not readable.
~/Library/Application Support/YourApp/PreviewCache would not be readable
by other users, and is an excellent location for the temporary files
generated by such an application.
I personally applaud the decision to put it in that location, rather
than some bolated folder in either ~/Library or ~/Library/Preferences,
as so many other developers have done.
--Matt
Markus Hitter wrote:
Am Sonntag den, 7. Juli 2002, um 07:19, schrieb Joseph Egon Mastandrea
(Spiros):
You might want to put them in a directory like...
~/Library/Application Support/YourApp/PreviewTemp/ or something...
thats what I'm doing for my HTML editor.
Temporary files (UNIX-)traditionally go to /tmp. It's guaranteed to
exist and to be world writable. And, it's automatically cleaned up after
some time in case your app dies without doing so.
In Networked environments, it's usually on a local disk in opposite to
$HOME/.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.