Re: Stopping double clicking of a file
Re: Stopping double clicking of a file
- Subject: Re: Stopping double clicking of a file
- From: development2 <email@hidden>
- Date: Wed, 4 Oct 2006 13:14:59 -0600
Well never mind I thought Apple might make this kind of easy to
override. But I will have to do something different in the app to fix
this properly.
thanks.
On Oct 4, 2006, at 12:46 PM, I. Savant wrote:
Regardless of being able to keep from double-clicking via Carbon,
how do you account for an AppleScript opening the file. How about
the command line "open /Path/To/File.ext"? What about someone using
a text editor (or an editor of their choice) that can open any file
via "File|Open" or by dragging the file onto the app's icon? I'm
sure there are plenty of other ways to open a file. You *won't*
secure your data this way.
If your issue is privileges (ie, you don't want certain people
opening the file), you most definitely are going about this the
wrong way and this can definitely be handled by properly
configuring your file permissions on the server in question. You
will need to go back to basics and learn how to properly make use
of user/file permissions to solve this problem correctly.
--
I.S.
On Oct 4, 2006, at 2:24 PM, development2 wrote:
Sorry can't do that. These files are all stored on Windows
servers, and they need to be able to create new files, delete
files, etc.
I have to disallow the file form double clicking. It can be
caught, at least in carbon I have done that in the past.
Thanks,
On Oct 4, 2006, at 12:19 PM, Hank Heijink wrote:
Maybe I'm missing something, but this seems a strange way to go
about it. Why don't you just use file permissions to deny certain
users access to a file? I would imagine that permissions for
users, groups, and others offer enough flexibility to solve this
without trying to modify the user interface at such a basic level.
Hank Heijink
www.hankheijink.com
email@hidden
On Oct 4, 2006, at 2:07 PM, development2 wrote:
Hi,
I need to turn off the ability to allow users to double click on
a file and have them open it up. There are security reasons for
this, as we do not want to allow students to open up the file
and change grades or attendance. So we have to go through our
login procedure that allows the teachers or administrators to
open the file. But I can not see anyway to turn this off. I know
in Carbon this is done through Apple Events, and ma sure that it
is done the same way with Cocoa. I have looked on Apples site
and searched this list, but have not be able to find the answer
to this.
Thanks in advance for any help.
_______________________________________________
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:
40gmail.com
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:
40bitblasters.com
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