• 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: 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.


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

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