Re: Prevent file access.
Re: Prevent file access.
- Subject: Re: Prevent file access.
- From: Randall Meadows <email@hidden>
- Date: Tue, 6 Jul 2004 16:53:35 -0400
At 1:33 PM -0600 7/6/04, Matt Jaffa wrote:
Hi,
Howdy.
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
There's the user immutable and system immutable flags, but anyone
with physical access to the machine can change either (any user may
set and clear the user immutable flag on a file they own; system
immutable flags can be changed when running in single-user mode,
where no password protection [outside of OpenFirmware] is enforced),
so it's likely kind of pointless, at least from a
program-registration/piracy-prevention point of view...
See 'man chflags' and
<
http://www.osxfaq.com/Tutorials/LearningCenter/AdvancedUnix/ugp2/page2.ws>.
_______________________________________________
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.