Re: Using Zip executable in Cocoa Application
Re: Using Zip executable in Cocoa Application
- Subject: Re: Using Zip executable in Cocoa Application
- From: John Stiles <email@hidden>
- Date: Sat, 17 Dec 2005 10:23:15 -0800
/tmp or /private/var/tmp isn't a really great place for saving things in
general. It's all thrown out when you restart (or maybe when you log in;
I forget which).
At any rate, I don't think we should be making assumptions about how
this code will work. We don't know if the data he's zipping is the
user's data; we don't know if the ZIP file's got a password on it; we
don't know if he deletes it when he's done; etc. Let's not rush to find
fault.
Uli Kusterer wrote:
Am 17.12.2005 um 15:38 schrieb Shaun Wexler:
That won't return @"/tmp"; it's something like @"/private/var/tmp/
folders.501/TemporaryItems", but more-or-less guaranteed to be
world-writable (on a writable file system).
Nice security hole waiting to be explored. Zip some important files
of the user's and save them there, and any other user can read
them... Sweeeet...
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden