• 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: Re: Stopping double clicking of a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Stopping double clicking of a file


  • Subject: Re: Re: Stopping double clicking of a file
  • From: "Shawn Erickson" <email@hidden>
  • Date: Wed, 4 Oct 2006 12:54:42 -0700

I have to say simply popping up a login dialog when your application
is asked to open a file type you support isn't likely to protect the
data.

Are your data files encrypted? If so how? Who holds the keys?

What about someone simply deleting or replacing the data file with a
copy from say some time in the past... etc?

-Shawn

On 10/4/06, development2 <email@hidden> wrote:
Exactly what I need thank you so much. And sorry to everyone for all
the chatter on the list.

thanks.
On Oct 4, 2006, at 1:23 PM, Eric Schlegel wrote:

>
> On Oct 4, 2006, at 11:43 AM, development2 wrote:
>
>> Or I guess what I could do, is some how trap it before it opens
>> the file, and show the Login window, and wait until a valid login,
>> then I could open it. But i guess that would be the same thing, I
>> need to be able to know if the file is double clicked.
>
> I think what you need to do is provide an NSApplication delegate
> that implements application:openFile:, and put up your login window
> inside that method. See <http://developer.apple.com/documentation/
> Cocoa/Reference/ApplicationKit/Classes/NSApplication_Class/
> Reference/Reference.html#//apple_ref/occ/instm/NSObject/
> application:openFile:>.
>
> -eric
>
>

 _______________________________________________
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


  • Follow-Ups:
    • Re: Stopping double clicking of a file
      • From: AgentM <email@hidden>
References: 
 >Stopping double clicking of a file (From: development2 <email@hidden>)
 >Re: Stopping double clicking of a file (From: Hank Heijink <email@hidden>)
 >Re: Stopping double clicking of a file (From: development2 <email@hidden>)
 >Re: Stopping double clicking of a file (From: development2 <email@hidden>)

  • Prev by Date: Re: Stopping double clicking of a file
  • Next by Date: Re: Change titlecolor from NSWindow
  • Previous by thread: Re: Stopping double clicking of a file
  • Next by thread: Re: Stopping double clicking of a file
  • Index(es):
    • Date
    • Thread