Re: Re: Stopping double clicking of a file
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