Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Prevent file access.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prevent file access.



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.


References: 
 >Prevent file access. (From: Matt Jaffa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.