• 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
Manipulating Sharing Services
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Manipulating Sharing Services


  • Subject: Manipulating Sharing Services
  • From: Jim Brown <email@hidden>
  • Date: Mon, 10 Mar 2008 21:10:21 -0700

Hi All,

We are developing an app that does a security review of a Mac looking for obvious vulnerabilities and settings that don't meet our published Best Practices. One of the steps is to get the current state of each of the 'services' listed in the sharing preferences (AFP, SMB, printer sharing, etc...). Additionally we want to give the user an opportunity, within our app, to changes any that don't comply with BPs. In Leopard the services don't seem to be quite so 'transparent'. In Tiger one can determine if AFP is running with 'ps -axc | grep AppleFileServer' and AFP can be turned off by simply running a shell command (sudo killall AppleFileServer). This doesn't really work in Leopard for either determining if AFP is running (AppleFileServer doesn't seem to be listed in 'ps -axc' even if its running) or turning it off.

My question is; first, is there a reference document that lists which plists are associated with which each service? and second, is CFPreferences the best method for manipulating sharing prefs?

Thanks

Jim Brown
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Manipulating Sharing Services
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
  • Next by Date: Re: [Moderator] iPhone discussion here - RETRACTION
  • Previous by thread: Re: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
  • Next by thread: Re: Manipulating Sharing Services
  • Index(es):
    • Date
    • Thread