• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Prevent file access.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


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

  • Prev by Date: Re: Drawing Pixels with NSBezierPath
  • Next by Date: WebView in Cocoa Java
  • Previous by thread: Re: Prevent file access.
  • Next by thread: Re: Prevent file access.
  • Index(es):
    • Date
    • Thread