• 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: FSCopyObjectAsync: useless and crippled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSCopyObjectAsync: useless and crippled


  • Subject: Re: FSCopyObjectAsync: useless and crippled
  • From: "John C. Daub" <email@hidden>
  • Date: Sun, 15 May 2005 05:56:05 -0500

on 5/14/05 6:47 PM, Mark Munz (DevList) at email@hidden wrote:

>> Steve Gehrman wrote on Friday, May 13, 2005:
>
>> What you are proposing is to break down the security of the system
>> for your convenience.  This is, admittedly, a persistent problem in
>> the entire system.  "Secure" and "user-friendly" are two properties
>> that are often mutually exclusive.  But I don't see that it's
>> appropriate to ask an FS... level API to start second guessing the
>> need to authenticate to make a copy of a file the user shouldn't,
>> by rights, have any access too.
>
> I would like to see Apple provide an 90% solution for copying files.
> Don't make it a low level call, make it more of upper level call,
> sort of like NSWorkspace.
>
>> No, there's a third solution which is very common.  Someone, often
>> Apple, can write a library or sample application code which does
>> all of the dirty work for you.  You can incorporate, modify, and
>> customize this code as needed.  Because, often, it requires
>> customizing simply because these are not simple problems with one-
>> size-fits-all solutions.
>
> I never liked this approach mainly because I think Apple should be
> solving this problem for 90% of the people with an appropriate API,
> and THEN providing customized solutions for the other 10%. Instead,
> every app has to include this code (most of the time it is probably
> included unchanged).

<http://developer.apple.com/samplecode/FSCopyObject/FSCopyObject.html>

Does this not suffice?

--
John C. Daub }:-)>=
<mailto:email@hidden> <http://www.hsoi.com/>
"We are what we repeatedly do." - Aristotle


 _______________________________________________
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

  • Follow-Ups:
    • Re: FSCopyObjectAsync: useless and crippled
      • From: Stéphane Sudre <email@hidden>
References: 
 >Re: FSCopyObjectAsync: useless and crippled (From: "Mark Munz (DevList)" <email@hidden>)

  • Prev by Date: Re: NSTextView wants to wrap too soon
  • Next by Date: What Happens When a Nib File is Loaded
  • Previous by thread: Re: FSCopyObjectAsync: useless and crippled
  • Next by thread: Re: FSCopyObjectAsync: useless and crippled
  • Index(es):
    • Date
    • Thread