Re: Prevent file access.
Re: Prevent file access.
- Subject: Re: Prevent file access.
- From: Todd Ransom <email@hidden>
- Date: Tue, 6 Jul 2004 14:35:06 -0600
Using permissions or flags you can restrict access to particular user
accounts, but any application running under that user account will have
the same access. You may be able to accomplish what you want by
running your application setuid to a particular user or group, but I
don't know how Cocoa would react to this.
man setuid from the terminal will give you information on what setuid
does.
TR
On Jul 6, 2004, at 1:33 PM, Matt Jaffa wrote:
Hi,
Is there a way to prevent a file from being moved anywhere, so that it
stays in the same directory that I installed it.
And also prevent any other application from opening it up and viewing
its contents?
or from deleting it or even moving it to trash, like above prevent
from moving it to another folder
Matt
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.